INFO  2025-04-03 10:39:51,132 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:39:51,140 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.063ms 204 
INFO  2025-04-03 10:39:51,144 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:39:51,146 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:39:51,148 [104  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:39:51,149 [104  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:39:51,153 [104  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:39:51,215 [105  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:39:51,217 [105  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.6565ms
INFO  2025-04-03 10:39:51,218 [105  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:39:51,220 [105  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 75.8246ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:40:11,131 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:40:11,133 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:11,134 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9308ms 204 
INFO  2025-04-03 10:40:11,138 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:40:11,139 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:11,141 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:40:11,142 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:11,146 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:40:11,222 [108  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:40:11,224 [108  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.0797ms
INFO  2025-04-03 10:40:11,225 [108  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:11,227 [108  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.6365ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:40:31,132 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:40:31,134 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:31,135 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7171ms 204 
INFO  2025-04-03 10:40:31,140 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:40:31,141 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:31,144 [104  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:40:31,146 [104  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:31,150 [104  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:40:31,220 [108  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:40:31,222 [108  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.1237ms
INFO  2025-04-03 10:40:31,223 [108  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:31,225 [108  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.8669ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:40:51,131 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:40:51,133 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:51,134 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6952ms 204 
INFO  2025-04-03 10:40:51,138 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:40:51,140 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:40:51,141 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:40:51,143 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:51,147 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:40:51,213 [108  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:40:51,214 [108  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.1699ms
INFO  2025-04-03 10:40:51,216 [108  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:40:51,217 [108  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.8189ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:41:11,138 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:41:11,141 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:11,170 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.3424ms 204 
INFO  2025-04-03 10:41:11,175 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:41:11,177 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:11,178 [109  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:41:11,180 [109  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:11,184 [109  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:41:11,249 [106  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:41:11,251 [106  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.9046ms
INFO  2025-04-03 10:41:11,253 [106  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:11,254 [106  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.8343ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:41:31,135 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:41:31,140 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:31,147 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.4397ms 204 
INFO  2025-04-03 10:41:31,154 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:41:31,155 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:31,157 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:41:31,159 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:31,164 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:41:31,237 [106  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:41:31,239 [106  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.742ms
INFO  2025-04-03 10:41:31,240 [106  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:31,242 [106  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.1237ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:41:50,330 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:41:50,332 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:50,333 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8066ms 204 
INFO  2025-04-03 10:41:50,335 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:41:50,337 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:41:50,339 [112  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:41:50,341 [112  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:50,345 [112  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:41:50,410 [106  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:41:50,412 [106  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.2939ms
INFO  2025-04-03 10:41:50,413 [106  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:41:50,415 [106  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.8164ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:42:11,128 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:42:11,129 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:11,131 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0773ms 204 
INFO  2025-04-03 10:42:11,132 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:42:11,133 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:11,135 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:42:11,136 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:11,139 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:42:11,214 [106  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:42:11,216 [106  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.1147ms
INFO  2025-04-03 10:42:11,218 [106  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:11,220 [106  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.6044ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:42:30,335 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:42:30,337 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:30,338 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2067ms 204 
INFO  2025-04-03 10:42:30,343 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:42:30,344 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:30,346 [104  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:42:30,347 [104  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:30,351 [104  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:42:30,427 [101  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:42:30,429 [101  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.8184ms
INFO  2025-04-03 10:42:30,431 [101  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:30,433 [101  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.9373ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:42:51,130 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:42:51,132 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:51,134 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2966ms 204 
INFO  2025-04-03 10:42:51,137 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:42:51,139 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:42:51,140 [104  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:42:51,142 [104  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:51,146 [104  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:42:51,225 [101  ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:42:51,227 [101  ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.7286ms
INFO  2025-04-03 10:42:51,229 [101  ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:42:51,230 [101  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.6558ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:43:11,134 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:43:11,136 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:11,137 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9722ms 204 
INFO  2025-04-03 10:43:11,143 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:43:11,146 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:11,148 [109  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:43:11,150 [109  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:11,154 [109  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:43:11,226 [98   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:43:11,228 [98   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.6198ms
INFO  2025-04-03 10:43:11,229 [98   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:11,231 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.9803ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:43:31,130 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:43:31,132 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:31,167 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3527ms 204 
INFO  2025-04-03 10:43:31,172 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:43:31,174 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:31,175 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:43:31,177 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:31,180 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:43:31,250 [98   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:43:31,252 [98   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.5197ms
INFO  2025-04-03 10:43:31,254 [98   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:31,256 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.2694ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:43:51,134 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:43:51,138 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:51,145 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.9281ms 204 
INFO  2025-04-03 10:43:51,151 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:43:51,152 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:43:51,154 [112  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:43:51,155 [112  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:51,160 [112  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:43:51,222 [98   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:43:51,229 [98   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.7214ms
INFO  2025-04-03 10:43:51,236 [98   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:43:51,244 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.8615ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:44:11,133 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:44:11,134 [112  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:44:11,136 [112  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2034ms 204 
INFO  2025-04-03 10:44:11,137 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:44:11,138 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:44:11,140 [104  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:44:11,141 [104  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:44:11,144 [104  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:44:11,221 [98   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:44:11,237 [98   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.9117ms
INFO  2025-04-03 10:44:11,239 [98   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:44:11,241 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 103.7506ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:44:46,134 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:44:46,136 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:44:46,138 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4277ms 204 
INFO  2025-04-03 10:44:46,144 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:44:46,146 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:44:46,147 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:44:46,149 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:44:46,152 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:44:46,218 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:44:46,220 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.9359ms
INFO  2025-04-03 10:44:46,221 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:44:46,223 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.5466ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:45:46,138 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:45:46,140 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:45:46,144 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.1171ms 204 
INFO  2025-04-03 10:45:46,147 [109  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:45:46,151 [109  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:45:46,154 [109  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:45:46,156 [109  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:45:46,161 [109  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:45:46,238 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:45:46,239 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.847ms
INFO  2025-04-03 10:45:46,241 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:45:46,243 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.7455ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:46:46,136 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:46:46,139 [104  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:46:46,144 [104  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5423ms 204 
INFO  2025-04-03 10:46:46,148 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:46:46,151 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:46:46,153 [92   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:46:46,154 [92   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:46:46,157 [92   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:46:46,233 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:46:46,235 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.6572ms
INFO  2025-04-03 10:46:46,237 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:46:46,238 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.9066ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:47:46,135 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:47:46,137 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:47:46,139 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0447ms 204 
INFO  2025-04-03 10:47:46,143 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:47:46,147 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:47:46,150 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:47:46,152 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:47:46,156 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:47:46,226 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:47:46,227 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.0679ms
INFO  2025-04-03 10:47:46,229 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:47:46,230 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.6639ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:48:46,137 [95   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:48:46,139 [95   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:48:46,142 [95   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0666ms 204 
INFO  2025-04-03 10:48:46,149 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:48:46,151 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:48:46,153 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:48:46,155 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:48:46,159 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:48:46,218 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:48:46,220 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 59.1543ms
INFO  2025-04-03 10:48:46,221 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:48:46,222 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 74.1796ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:49:46,135 [95   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:49:46,137 [95   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:49:46,139 [95   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.672ms 204 
INFO  2025-04-03 10:49:46,140 [95   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:49:46,143 [95   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:49:46,145 [95   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:49:46,148 [95   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:49:46,153 [95   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:49:46,213 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:49:46,215 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.6699ms
INFO  2025-04-03 10:49:46,216 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:49:46,218 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.5991ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:50:46,137 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:50:46,139 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:50:46,141 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.035ms 204 
INFO  2025-04-03 10:50:46,147 [110  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:50:46,150 [110  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:50:46,153 [110  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:50:46,155 [110  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:50:46,159 [110  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:50:46,222 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:50:46,224 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.004ms
INFO  2025-04-03 10:50:46,225 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:50:46,227 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.8726ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:51:46,132 [89   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:51:46,134 [89   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:51:46,136 [89   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8734ms 204 
INFO  2025-04-03 10:51:46,139 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:51:46,140 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:51:46,142 [92   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:51:46,144 [92   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:51:46,149 [92   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:51:46,214 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:51:46,215 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.3155ms
INFO  2025-04-03 10:51:46,217 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:51:46,218 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.9652ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:52:46,138 [88   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:52:46,140 [88   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:52:46,142 [88   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1146ms 204 
INFO  2025-04-03 10:52:46,147 [88   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:52:46,149 [88   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:52:46,152 [88   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:52:46,155 [88   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:52:46,160 [88   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:52:46,225 [96   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:52:46,227 [96   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.4406ms
INFO  2025-04-03 10:52:46,228 [96   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:52:46,229 [96   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.7118ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:53:46,127 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:53:46,129 [90   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:53:46,130 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3566ms 204 
INFO  2025-04-03 10:53:46,132 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:53:46,134 [90   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:53:46,137 [90   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:53:46,140 [90   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:53:46,145 [90   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:53:46,207 [86   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:53:46,209 [86   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.9289ms
INFO  2025-04-03 10:53:46,211 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:53:46,212 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.5213ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:54:46,134 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:54:46,136 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:54:46,139 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6673ms 204 
INFO  2025-04-03 10:54:46,147 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:54:46,149 [90   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:54:46,151 [90   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:54:46,153 [90   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:54:46,159 [90   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:54:46,222 [86   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:54:46,224 [86   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.1007ms
INFO  2025-04-03 10:54:46,226 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:54:46,227 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.5461ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:55:46,127 [88   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:55:46,129 [88   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:55:46,131 [88   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9759ms 204 
INFO  2025-04-03 10:55:46,136 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:55:46,138 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:55:46,139 [92   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:55:46,173 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:55:46,178 [86   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:55:46,246 [86   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:55:46,248 [86   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.6939ms
INFO  2025-04-03 10:55:46,250 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:55:46,251 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 115.3893ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:56:46,152 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:56:46,155 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:56:46,157 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.4887ms 204 
INFO  2025-04-03 10:56:46,162 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:56:46,164 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:56:46,166 [92   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:56:46,168 [92   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:56:46,172 [92   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:56:46,241 [86   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:56:46,242 [86   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.7432ms
INFO  2025-04-03 10:56:46,244 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:56:46,245 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.443ms 200 application/json; charset=utf-8
INFO  2025-04-03 10:57:46,135 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 10:57:46,139 [90   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:57:46,140 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9324ms 204 
INFO  2025-04-03 10:57:46,142 [81   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 10:57:46,143 [81   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 10:57:46,145 [81   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 10:57:46,146 [81   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:57:46,150 [81   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 10:57:46,430 [86   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 10:57:46,432 [86   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 280.3406ms
INFO  2025-04-03 10:57:46,434 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 10:57:46,436 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 293.5784ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 13:11:41,567 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:11:41,631 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:11:41,648 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,649 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,649 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,649 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,649 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,650 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,650 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,650 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,650 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,650 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,651 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,652 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:41,654 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:11:41,695 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:11:41,696 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:11:41,696 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:11:41,696 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:11:41,696 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:11:42,128 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:42,137 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:42,368 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:11:43,036 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:11:43,089 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:11:43,133 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:11:43,148 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:11:43,242 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:11:43,270 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:11:43,274 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:11:43,370 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:11:43,410 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:11:43,410 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:11:43,413 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:11:43,414 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:11:43,415 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:11:44,216 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:11:44,648 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,695 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,705 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,712 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,718 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,725 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,739 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,746 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,754 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:11:44,769 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:11:44,775 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:11:44,782 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:11:44,788 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:11:45,583 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:11:45,711 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:11:45,726 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:11:45,728 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:11:45,729 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:11:45,730 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:11:45,822 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33760:1012f84c successfully announced in 71.878 ms
INFO  2025-04-03 13:11:45,829 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33760:1012f84c is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:11:45,852 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33760:1012f84c all the dispatchers started
INFO  2025-04-03 13:11:45,860 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 13:11:46,017 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:11:46,693 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:11:46,849 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:11:49,776 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:11:50,796 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:11:50,802 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1020.6384ms
INFO  2025-04-03 13:11:50,803 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:11:50,810 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4116.8653ms 302 
INFO  2025-04-03 13:11:50,827 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger  
INFO  2025-04-03 13:11:50,863 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 36.3067ms 301 
INFO  2025-04-03 13:11:50,869 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:11:50,902 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 33.178ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:11:50,928 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/swagger-ui.css  
INFO  2025-04-03 13:11:50,931 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/swagger-ui-bundle.js  
INFO  2025-04-03 13:11:50,933 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/swagger-ui-standalone-preset.js  
INFO  2025-04-03 13:11:50,935 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/ui/abp.js  
INFO  2025-04-03 13:11:50,937 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/ui/abp.swagger.js  
INFO  2025-04-03 13:11:50,939 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:11:50,942 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5351ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:11:50,945 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:11:50,975 [14   ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger/ui/abp.js'. Physical path: 'E:\work\tl\gv-api\src\YGNT.Exam.Web.Host\wwwroot\swagger\ui\abp.js'
INFO  2025-04-03 13:11:50,975 [10   ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger/ui/abp.swagger.js'. Physical path: 'E:\work\tl\gv-api\src\YGNT.Exam.Web.Host\wwwroot\swagger\ui\abp.swagger.js'
INFO  2025-04-03 13:11:50,977 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 43.0488ms 200 application/javascript
INFO  2025-04-03 13:11:50,979 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 40.2279ms 200 application/javascript
INFO  2025-04-03 13:11:50,987 [12   ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A'
INFO  2025-04-03 13:11:50,994 [11   ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A'
INFO  2025-04-03 13:11:50,995 [10   ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A'
INFO  2025-04-03 13:11:50,999 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 68.1315ms 200 application/javascript
INFO  2025-04-03 13:11:51,001 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 76.3343ms 200 text/css
INFO  2025-04-03 13:11:51,002 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 69.2587ms 200 application/javascript
INFO  2025-04-03 13:11:51,023 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.2751ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:11:51,487 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:11:51,490 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:11:51,498 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:11:51,508 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:11:51,568 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:11:51,587 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 86.518ms
INFO  2025-04-03 13:11:51,589 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:11:51,590 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 104.3189ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:11:51,763 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 253.8755ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:12:05,900 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
ERROR 2025-04-03 13:12:06,013 [4    ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HNBIDO421L1A", Request id "0HNBIDO421L1A:00000003": An unhandled exception was thrown by the application.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Conflicting method/path combination "GET api/services/QuestionLibrary/Grades/GetList" for actions - YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application),YGNT.QuestionLibrary.Grades.GradesAppService.GetList (YGNT.QuestionLibrary.Application). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
INFO  2025-04-03 13:12:06,015 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 115.8952ms 500 
INFO  2025-04-03 13:12:55,420 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/文件/swagger.json  
INFO  2025-04-03 13:12:55,439 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 27.0315ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:12:57,533 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:12:57,626 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 95.6369ms 200 application/json;charset=utf-8
DEBUG 2025-04-03 13:14:19,860 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:14:19,980 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:14:20,004 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,005 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,005 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,005 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,006 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,006 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,006 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,006 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,007 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,007 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,007 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,007 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,007 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,008 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,009 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,009 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,009 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,011 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:14:20,070 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:14:20,070 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:14:20,070 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:14:20,070 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:14:20,070 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:14:20,583 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,593 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:20,873 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:14:21,667 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:14:21,719 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:14:21,760 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:14:21,775 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:14:21,868 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:14:21,896 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:14:21,900 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:14:22,003 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:14:22,041 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:14:22,041 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:14:22,045 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:14:22,046 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:14:22,047 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:14:22,842 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:14:23,287 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (22ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,336 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,344 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,352 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,360 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,375 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,389 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,398 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,407 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:14:23,424 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:14:23,436 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:14:23,444 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:14:23,452 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:14:24,480 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:14:24,858 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:14:24,873 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:14:24,875 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:14:24,876 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:14:24,877 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:14:25,038 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:12492:a54b5919 successfully announced in 139.5125 ms
INFO  2025-04-03 13:14:25,061 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:12492:a54b5919 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:14:25,176 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:12492:a54b5919 all the dispatchers started
INFO  2025-04-03 13:14:25,357 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:14:26,097 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:14:26,275 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:14:29,230 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:14:30,278 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:14:30,283 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1048.8142ms
INFO  2025-04-03 13:14:30,284 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:14:30,292 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4196.0463ms 302 
INFO  2025-04-03 13:14:30,306 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:14:30,369 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 62.8217ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:14:30,396 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:14:30,399 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:14:30,408 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6339ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:14:30,436 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 39.4007ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:14:30,640 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:14:30,646 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:14:30,650 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:14:30,655 [8    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:14:30,725 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:14:30,741 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 83.0955ms
INFO  2025-04-03 13:14:30,748 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:14:30,751 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 111.6666ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:14:30,914 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 263.4444ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:14:38,651 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
ERROR 2025-04-03 13:14:38,755 [8    ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HNBIDPJI95GC", Request id "0HNBIDPJI95GC:00000003": An unhandled exception was thrown by the application.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Conflicting method/path combination "GET api/services/QuestionLibrary/Grades/GetList" for actions - YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application),YGNT.QuestionLibrary.Grades.GradesAppService.GetList (YGNT.QuestionLibrary.Application). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
INFO  2025-04-03 13:14:38,757 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 107.3893ms 500 
INFO  2025-04-03 13:14:44,205 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/文件/swagger.json  
INFO  2025-04-03 13:14:44,224 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 17.928ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:14:54,148 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:14:54,234 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.6302ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:14:57,514 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
ERROR 2025-04-03 13:14:57,753 [4    ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HNBIDPJI95GC", Request id "0HNBIDPJI95GC:00000006": An unhandled exception was thrown by the application.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Conflicting method/path combination "GET api/services/QuestionLibrary/Grades/GetList" for actions - YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application),YGNT.QuestionLibrary.Grades.GradesAppService.GetList (YGNT.QuestionLibrary.Application). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
   at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
INFO  2025-04-03 13:14:57,756 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 242.9248ms 500 
INFO  2025-04-03 13:15:38,809 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/User/Get?id=50  
INFO  2025-04-03 13:15:38,817 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,822 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.7534ms 204 
INFO  2025-04-03 13:15:38,829 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/User/Get?id=50 application/json 
INFO  2025-04-03 13:15:38,833 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,873 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:15:38,875 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,877 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?IsActive=true&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:15:38,882 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,884 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:15:38,886 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 13.6296ms 204 
INFO  2025-04-03 13:15:38,888 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,890 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.8425ms 204 
INFO  2025-04-03 13:15:38,892 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionBaseData/GetDifficulty  
INFO  2025-04-03 13:15:38,897 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 13:15:38,904 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.1778ms 204 
INFO  2025-04-03 13:15:38,909 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?IsActive=true&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:15:38,920 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,921 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:15:38,923 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,926 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 32.8235ms 204 
INFO  2025-04-03 13:15:38,929 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 35.6024ms 204 
INFO  2025-04-03 13:15:38,933 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:15:38,936 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,937 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,938 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,940 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:15:38,942 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,948 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 61.2586ms 204 
INFO  2025-04-03 13:15:38,950 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionBaseData/GetDifficulty application/json 
INFO  2025-04-03 13:15:38,951 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:38,965 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 13:15:38,967 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
ERROR 2025-04-03 13:15:38,970 [8    ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HNBIDPJI95GF", Request id "0HNBIDPJI95GF:00000003": An unhandled exception was thrown by the application.
Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. Matches: 

YGNT.QuestionLibrary.Grades.GradesAppService.GetList (YGNT.QuestionLibrary.Application)
YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.ReportAmbiguity(CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.ProcessFinalCandidates(HttpContext httpContext, CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.Select(HttpContext httpContext, CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.MatchAsync(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.Matching.DataSourceDependentMatcher.MatchAsync(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.EvaluateAndApplyPolicy(HttpContext context, CorsPolicy corsPolicy)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context, ICorsPolicyProvider corsPolicyProvider)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_1.<UseMiddleware>b__2(HttpContext context)
   at Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
INFO  2025-04-03 13:15:38,973 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 42.8703ms 500 
INFO  2025-04-03 13:15:38,975 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:15:38,978 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:39,099 [35   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,101 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,102 [8    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,103 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,105 [34   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,106 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:39,221 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:39,223 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:39,225 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:39,230 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:39,232 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:39,233 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:39,238 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetDifficulty", controller = "QuestionBaseData"}. Executing controller action with signature System.Collections.Generic.List`1[YGNT.QuestionLibrary.BaseDatas.Dto.DifficultyDto] GetDifficulty() on controller YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:39,242 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:15:39,243 [35   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:39,267 [8    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "Get", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[YGNT.Exam.Users.Dto.UserDto] GetAsync(Abp.Application.Services.Dto.EntityDto`1[System.Int64]) on controller YGNT.Exam.Users.UserAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:15:39,270 [28   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:39,273 [34   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:41,940 [31   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:15:42,084 [33   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `u`.`Id`, `u`.`DisciplineId`, `u`.`UserId`, `d`.`Name`, `d`.`GradeId`, `g`.`Name`
FROM `UserDisciplines` AS `u`
INNER JOIN `Disciplines` AS `d` ON `u`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
WHERE `u`.`UserId` = @__userId_0
INFO  2025-04-03 13:15:42,227 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:42,232 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 2987.5347ms
INFO  2025-04-03 13:15:42,234 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:42,237 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3327.028ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:42,253 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:42,276 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application) in 3005.3609ms
INFO  2025-04-03 13:15:42,278 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:42,281 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3453.3266ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:43,333 [28   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:15:43,368 [51   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__search_IsActive_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
WHERE `e`.`IsActive` = @__search_IsActive_0
INFO  2025-04-03 13:15:43,396 [28   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__search_IsActive_0='?' (DbType = Boolean), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
WHERE `e`.`IsActive` = @__search_IsActive_0
ORDER BY `e`.`Name`
LIMIT @__p_2 OFFSET @__p_1
INFO  2025-04-03 13:15:43,501 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:43,510 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 4236.0588ms
INFO  2025-04-03 13:15:43,513 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:43,519 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4624.819ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:43,990 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:44,004 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application) in 4762.6149ms
INFO  2025-04-03 13:15:44,009 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,011 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionBaseData/GetDifficulty application/json 
INFO  2025-04-03 13:15:44,013 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
ERROR 2025-04-03 13:15:44,017 [34   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:15:44,018 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5067.7238ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:44,020 [45   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:44,026 [45   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,035 [45   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetDifficulty", controller = "QuestionBaseData"}. Executing controller action with signature System.Collections.Generic.List`1[YGNT.QuestionLibrary.BaseDatas.Dto.DifficultyDto] GetDifficulty() on controller YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:44,041 [35   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:15:44,077 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 13:15:44,086 [33   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:44,089 [33   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application) in 51.0203ms
INFO  2025-04-03 13:15:44,092 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,094 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.9687ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:44,155 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:44,164 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 4918.5928ms
INFO  2025-04-03 13:15:44,169 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,174 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5207.7005ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:44,422 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:44,430 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 5152.0302ms
INFO  2025-04-03 13:15:44,432 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:15:44,434 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,436 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:44,437 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5461.6709ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:15:44,440 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:44,441 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,446 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:15:44,448 [42   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:15:44,451 [42   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:44,453 [42   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 5.6169ms
INFO  2025-04-03 13:15:44,455 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:44,457 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 27.4424ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:15:49,313 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:15:49,315 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:49,317 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5097ms 204 
INFO  2025-04-03 13:15:49,321 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:15:49,324 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:49,329 [8    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:49,332 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:49,350 [8    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:15:49,358 [8    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:15:49,382 [31   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:15:49,394 [31   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:15:49,433 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:49,436 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 83.8359ms
INFO  2025-04-03 13:15:49,438 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:15:49,440 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 120.4585ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:15:58,871 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:15:58,874 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:58,876 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.2463ms 204 
INFO  2025-04-03 13:15:58,879 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:15:58,881 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:15:58,886 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:15:58,888 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:58,894 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:15:58,970 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:15:58,973 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.4579ms
INFO  2025-04-03 13:15:58,974 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:15:58,976 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.9743ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:16:03,519 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DataSync  
INFO  2025-04-03 13:16:03,523 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:03,525 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.7062ms 204 
INFO  2025-04-03 13:16:03,528 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DataSync  0
INFO  2025-04-03 13:16:03,529 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:03,533 [47   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:16:03,535 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:16:03,543 [47   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:16:03,890 [28   ] Mvc.ExceptionHandling.AbpExceptionFilter - Exception of type 'Abp.UI.UserFriendlyException' was thrown.
Abp.UI.UserFriendlyException: Exception of type 'Abp.UI.UserFriendlyException' was thrown.
   at YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\EducationCategories\EducationCategoryAppService.cs:line 235
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:16:03,895 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:16:03,899 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 352.0412ms
INFO  2025-04-03 13:16:03,904 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:16:03,907 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 378.9709ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:16:17,765 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:16:17,768 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:17,773 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6045ms 204 
INFO  2025-04-03 13:16:17,777 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:16:17,781 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:17,784 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:16:17,787 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:16:17,792 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:16:17,800 [42   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:16:17,827 [28   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:16:17,837 [28   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:16:17,879 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:16:17,882 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 86.6514ms
INFO  2025-04-03 13:16:17,884 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:16:17,887 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 110.7942ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:16:18,865 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:16:18,868 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:18,872 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5404ms 204 
INFO  2025-04-03 13:16:18,886 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:16:18,888 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:18,897 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:16:18,900 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:18,905 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:16:18,974 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:16:18,977 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.1257ms
INFO  2025-04-03 13:16:18,980 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:18,983 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.3627ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:16:38,514 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:16:38,516 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:38,518 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.2903ms 204 
INFO  2025-04-03 13:16:38,524 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:16:38,527 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
ERROR 2025-04-03 13:16:38,531 [36   ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HNBIDPJI95GJ", Request id "0HNBIDPJI95GJ:0000000F": An unhandled exception was thrown by the application.
Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. Matches: 

YGNT.QuestionLibrary.Grades.GradesAppService.GetList (YGNT.QuestionLibrary.Application)
YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.ReportAmbiguity(CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.ProcessFinalCandidates(HttpContext httpContext, CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.Select(HttpContext httpContext, CandidateState[] candidateState)
   at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.MatchAsync(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.Matching.DataSourceDependentMatcher.MatchAsync(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.EvaluateAndApplyPolicy(HttpContext context, CorsPolicy corsPolicy)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context, ICorsPolicyProvider corsPolicyProvider)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_1.<UseMiddleware>b__2(HttpContext context)
   at Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
INFO  2025-04-03 13:16:38,534 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.5306ms 500 
INFO  2025-04-03 13:16:38,855 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:16:38,857 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:38,860 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2905ms 204 
INFO  2025-04-03 13:16:38,863 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:16:38,866 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:38,869 [47   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:16:38,872 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:38,878 [47   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:16:38,946 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:16:38,949 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.8882ms
INFO  2025-04-03 13:16:38,951 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:38,953 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.3837ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:16:58,858 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:16:58,860 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:58,862 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3396ms 204 
INFO  2025-04-03 13:16:58,866 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:16:58,867 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:16:58,869 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:16:58,871 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:58,875 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:16:58,944 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:16:58,947 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.0881ms
INFO  2025-04-03 13:16:58,948 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:16:58,950 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.29ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 13:19:01,412 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:19:01,457 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:19:01,475 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,476 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,477 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,477 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,477 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,477 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,477 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,478 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,478 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,478 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,478 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,479 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,480 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,480 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,480 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,480 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,480 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,482 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:19:01,521 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:19:01,521 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:19:01,521 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:19:01,521 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:19:01,521 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:19:01,977 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:01,986 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:02,236 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:19:02,984 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:19:03,044 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:19:03,087 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:19:03,117 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:19:03,241 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:19:03,279 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:19:03,326 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:19:03,479 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:19:03,524 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:19:03,524 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:19:03,531 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:19:03,531 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:19:03,531 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:19:03,532 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:19:03,533 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:19:03,533 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:19:03,533 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:19:03,533 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:19:04,471 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:19:04,955 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,007 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,017 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,027 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,039 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,049 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,062 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,070 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,078 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:19:05,093 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:19:05,101 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:19:05,109 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:19:05,116 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:19:05,969 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:19:06,104 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:19:06,122 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:19:06,124 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:19:06,125 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:19:06,126 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:19:06,199 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33304:c3215ec8 successfully announced in 49.0027 ms
INFO  2025-04-03 13:19:06,204 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33304:c3215ec8 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:19:06,224 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:33304:c3215ec8 all the dispatchers started
INFO  2025-04-03 13:19:06,235 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 13:19:06,386 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:19:06,910 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:19:07,081 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:19:11,987 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:19:13,427 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:19:13,432 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1440.5462ms
INFO  2025-04-03 13:19:13,433 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:19:13,441 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6531.7792ms 302 
INFO  2025-04-03 13:19:13,461 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:19:13,545 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.1717ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:19:13,594 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:19:13,633 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:19:13,651 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 54.5517ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:19:13,712 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 119.1886ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:19:13,897 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:19:13,900 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:19:13,926 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:19:13,959 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:19:14,052 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:19:14,190 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 150.4648ms
INFO  2025-04-03 13:19:14,213 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:19:14,217 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 352.1402ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:19:14,500 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 603.8531ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:19:19,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:19:19,148 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:19,152 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 13.3805ms 204 
INFO  2025-04-03 13:19:19,155 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:19:19,162 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:19,353 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:19:19,445 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:19,455 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:19:19,896 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:19:19,903 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 441.9605ms
INFO  2025-04-03 13:19:19,906 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:19,918 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 754.177ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:19:39,134 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:19:39,138 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:39,140 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5162ms 204 
INFO  2025-04-03 13:19:39,143 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:19:39,146 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:39,154 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:19:39,157 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:39,164 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:19:39,232 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:19:39,235 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.6205ms
INFO  2025-04-03 13:19:39,237 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:39,239 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.3706ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:19:59,121 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:19:59,126 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:59,129 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.742ms 204 
INFO  2025-04-03 13:19:59,132 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:19:59,134 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:19:59,137 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:19:59,142 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:59,151 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:19:59,226 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:19:59,229 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.2501ms
INFO  2025-04-03 13:19:59,232 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:19:59,234 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 103.1972ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:28,118 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 13:20:28,401 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 282.5381ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:20:40,616 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:20:40,618 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:40,621 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2927ms 204 
INFO  2025-04-03 13:20:40,624 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:20:40,627 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:40,629 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:40,632 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:40,637 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:20:40,704 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:40,707 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.695ms
INFO  2025-04-03 13:20:40,709 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:40,711 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.3658ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:44,712 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/User/Get?id=50  
INFO  2025-04-03 13:20:44,715 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,717 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.1478ms 204 
INFO  2025-04-03 13:20:44,724 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/User/Get?id=50 application/json 
INFO  2025-04-03 13:20:44,727 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,732 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,736 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:44,754 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "Get", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[YGNT.Exam.Users.Dto.UserDto] GetAsync(Abp.Application.Services.Dto.EntityDto`1[System.Int64]) on controller YGNT.Exam.Users.UserAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:20:44,774 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:20:44,782 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?IsActive=true&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:20:44,784 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:20:44,786 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,787 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,789 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,791 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:20:44,793 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.3626ms 204 
INFO  2025-04-03 13:20:44,797 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.0216ms 204 
INFO  2025-04-03 13:20:44,798 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,805 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,818 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 17.6746ms 204 
INFO  2025-04-03 13:20:44,820 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionBaseData/GetDifficulty  
INFO  2025-04-03 13:20:44,822 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:44,824 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:20:44,837 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?IsActive=true&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:20:44,838 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,842 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,848 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,849 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 13:20:44,853 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 38.6686ms 204 
INFO  2025-04-03 13:20:44,856 [44   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,857 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:20:44,863 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,864 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 47.6662ms 204 
INFO  2025-04-03 13:20:44,866 [43   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,867 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,869 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:44,870 [43   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:44,872 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionBaseData/GetDifficulty application/json 
INFO  2025-04-03 13:20:44,873 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,877 [44   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:44,880 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:20:44,881 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:44,883 [44   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:44,886 [44   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:44,896 [43   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:20:44,899 [44   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetDifficulty", controller = "QuestionBaseData"}. Executing controller action with signature System.Collections.Generic.List`1[YGNT.QuestionLibrary.BaseDatas.Dto.DifficultyDto] GetDifficulty() on controller YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:20:44,901 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:20:44,906 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:20:44,989 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:44,995 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 111.6355ms
INFO  2025-04-03 13:20:44,999 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:45,004 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 229.527ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:45,006 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 13:20:45,012 [7    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:45,014 [7    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:45,019 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:45,037 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:20:46,410 [7    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:20:46,492 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 13:20:46,685 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:46,698 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 1660.0435ms
INFO  2025-04-03 13:20:46,703 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:46,709 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1702.9926ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:46,711 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:20:46,714 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:46,716 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6123ms 204 
INFO  2025-04-03 13:20:46,718 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:20:46,720 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:20:46,732 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:20:46,734 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:46,750 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:20:47,210 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:20:47,321 [39   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:20:47,324 [43   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:20:47,327 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:20:47,347 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:20:47,403 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:20:47,415 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__search_IsActive_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
WHERE `e`.`IsActive` = @__search_IsActive_0
INFO  2025-04-03 13:20:47,426 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__search_IsActive_0='?' (DbType = Boolean), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
WHERE `e`.`IsActive` = @__search_IsActive_0
ORDER BY `e`.`Name`
LIMIT @__p_2 OFFSET @__p_1
INFO  2025-04-03 13:20:47,437 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:20:47,471 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:20:47,504 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:47,506 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:47,518 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 764.5046ms
INFO  2025-04-03 13:20:47,520 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 2618.7472ms
INFO  2025-04-03 13:20:47,522 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:47,524 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:47,554 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 806.1692ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:47,556 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2711.2926ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:47,574 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:47,587 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 2683.8586ms
INFO  2025-04-03 13:20:47,590 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:47,592 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2769.5727ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:48,044 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:48,051 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 3143.067ms
INFO  2025-04-03 13:20:48,056 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:48,062 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3206.3235ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:20:48,271 [45   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:20:48,302 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `u`.`Id`, `u`.`DisciplineId`, `u`.`UserId`, `d`.`Name`, `d`.`GradeId`, `g`.`Name`
FROM `UserDisciplines` AS `u`
INNER JOIN `Disciplines` AS `d` ON `u`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
WHERE `u`.`UserId` = @__userId_0
INFO  2025-04-03 13:20:48,381 [45   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:48,399 [45   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application) in 3640.5587ms
INFO  2025-04-03 13:20:48,403 [45   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Users.UserAppService.GetAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:20:48,435 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3683.3705ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:20:49,871 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:20:49,876 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application) in 4975.007ms
INFO  2025-04-03 13:20:49,878 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.BaseDatas.QuestionBaseDataAppService.GetDifficulty (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:20:49,880 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5013.3225ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:04,781 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:21:04,783 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:04,786 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0528ms 204 
INFO  2025-04-03 13:21:04,792 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:21:04,796 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:04,799 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:04,802 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:04,808 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:21:04,885 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:04,887 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 77.9075ms
INFO  2025-04-03 13:21:04,889 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:04,891 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 100.5519ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:07,749 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DataSync  
INFO  2025-04-03 13:21:07,751 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:07,753 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9884ms 204 
INFO  2025-04-03 13:21:07,756 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DataSync  0
INFO  2025-04-03 13:21:07,758 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:07,761 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:07,765 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:07,773 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:21:08,114 [7    ] Mvc.ExceptionHandling.AbpExceptionFilter - Exception of type 'Abp.UI.UserFriendlyException' was thrown.
Abp.UI.UserFriendlyException: Exception of type 'Abp.UI.UserFriendlyException' was thrown.
   at YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\EducationCategories\EducationCategoryAppService.cs:line 235
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:21:08,117 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:08,119 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 344.1309ms
INFO  2025-04-03 13:21:08,120 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:08,122 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 366.6746ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:21:24,782 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:21:24,785 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:24,788 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3343ms 204 
INFO  2025-04-03 13:21:24,790 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:21:24,793 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:24,796 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:24,799 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:24,803 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:21:24,872 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:24,874 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.9797ms
INFO  2025-04-03 13:21:24,875 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:24,877 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.7757ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:42,398 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:21:42,400 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:42,403 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1466ms 204 
INFO  2025-04-03 13:21:42,405 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:21:42,408 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:42,413 [43   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:42,415 [43   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:42,420 [43   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:42,428 [43   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:42,453 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:21:42,464 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:21:42,502 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:42,505 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 82.8716ms
INFO  2025-04-03 13:21:42,508 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:42,511 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.3396ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:44,769 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:21:44,771 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:44,772 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.4856ms 204 
INFO  2025-04-03 13:21:44,775 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:21:44,778 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:44,780 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:44,782 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:44,787 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:21:44,850 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:44,852 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.7572ms
INFO  2025-04-03 13:21:44,854 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:21:44,855 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.0622ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:51,061 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/DeleteList?idList[]=33&idList[]=32&idList[]=31&idList[]=30&idList[]=29&idList[]=28&idList[]=27&idList[]=26&idList[]=25&idList[]=24&idList[]=6&idList[]=8&idList[]=7&idList[]=3&idList[]=5  
INFO  2025-04-03 13:21:51,063 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,066 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5572ms 204 
INFO  2025-04-03 13:21:51,071 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Grades/DeleteList?idList[]=33&idList[]=32&idList[]=31&idList[]=30&idList[]=29&idList[]=28&idList[]=27&idList[]=26&idList[]=25&idList[]=24&idList[]=6&idList[]=8&idList[]=7&idList[]=3&idList[]=5 application/json 52
INFO  2025-04-03 13:21:51,073 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,075 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:51,077 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,084 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:51,377 [48   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:51,408 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,417 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,427 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,440 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,449 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,459 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,467 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,478 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,485 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,494 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,504 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,512 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,520 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,528 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,535 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
WHERE `g`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:21:51,558 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32), @p3='?' (DbType = Int32), @p4='?' (DbType = Int32), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32), @p9='?' (DbType = Int32), @p10='?' (DbType = Int32), @p11='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Int32), @p14='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Grades`
WHERE `Id` = @p0;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p1;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p2;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p3;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p4;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p5;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p6;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p7;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p8;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p9;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p10;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p11;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p12;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p13;
SELECT ROW_COUNT();

DELETE FROM `Grades`
WHERE `Id` = @p14;
SELECT ROW_COUNT();
INFO  2025-04-03 13:21:51,608 [48   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:51,610 [48   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 524.6459ms
INFO  2025-04-03 13:21:51,612 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,616 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 543.3886ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:51,618 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:21:51,619 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:21:51,621 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,622 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,624 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.4291ms 204 
INFO  2025-04-03 13:21:51,625 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6752ms 204 
INFO  2025-04-03 13:21:51,627 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:21:51,629 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:21:51,632 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,633 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:51,636 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:51,637 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:51,639 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,640 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,643 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:51,645 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:51,650 [48   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:51,653 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:51,672 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:21:51,680 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:21:51,682 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:21:51,689 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:21:51,730 [48   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:51,739 [48   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 86.554ms
INFO  2025-04-03 13:21:51,742 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,744 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.0734ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:51,754 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:51,756 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 109.2329ms
INFO  2025-04-03 13:21:51,758 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:51,760 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 132.6665ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:58,732 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/DataSync  
INFO  2025-04-03 13:21:58,735 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:58,740 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0798ms 204 
INFO  2025-04-03 13:21:58,742 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Grades/DataSync  0
INFO  2025-04-03 13:21:58,744 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:58,746 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:58,749 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:58,757 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:58,849 [7    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:58,879 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`
FROM `EducationCategories` AS `e`
WHERE `e`.`Name` = '中职'
LIMIT 1
INFO  2025-04-03 13:21:58,926 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:58,943 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:58,953 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:58,960 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:58,966 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:58,973 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:58,979 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:58,985 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:58,995 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:59,002 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:59,007 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Grades` AS `g`
    WHERE `g`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 13:21:59,013 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?' (Size = 30), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Grades` (`CreationTime`, `CreatorUserId`, `EducationCategoryId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Grades`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 13:21:59,050 [49   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:59,053 [49   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 294.0022ms
INFO  2025-04-03 13:21:59,057 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:59,059 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:21:59,061 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 316.9323ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:59,062 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:59,064 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:21:59,066 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0132ms 204 
INFO  2025-04-03 13:21:59,068 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:59,071 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.0399ms 204 
INFO  2025-04-03 13:21:59,074 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:21:59,076 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:21:59,078 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:59,080 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:21:59,082 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:59,084 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:21:59,085 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:59,088 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:59,092 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:59,094 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:21:59,098 [49   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:59,100 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:21:59,121 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:21:59,123 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:21:59,134 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:21:59,135 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:21:59,173 [50   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:59,174 [48   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:21:59,176 [50   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 81.2349ms
INFO  2025-04-03 13:21:59,178 [48   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 80.8096ms
INFO  2025-04-03 13:21:59,180 [50   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:59,182 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:21:59,183 [50   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 108.1489ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:21:59,185 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 114.001ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:22:04,041 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:22:04,045 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:04,047 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.0748ms 204 
INFO  2025-04-03 13:22:04,050 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:22:04,052 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:04,054 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:04,056 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:04,060 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:22:04,066 [42   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:22:04,089 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:22:04,097 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:22:04,137 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:04,140 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 77.1654ms
INFO  2025-04-03 13:22:04,144 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:04,147 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.4349ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:22:04,779 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:22:04,781 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:04,783 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1305ms 204 
INFO  2025-04-03 13:22:04,785 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:22:04,786 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:04,788 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:04,790 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:04,795 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:22:04,870 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:04,872 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.1158ms
INFO  2025-04-03 13:22:04,874 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:04,876 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.5504ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:22:13,634 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DeleteList?idList[]=113&idList[]=4&idList[]=112&idList[]=3  
INFO  2025-04-03 13:22:13,637 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:13,640 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.8139ms 204 
INFO  2025-04-03 13:22:13,645 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/EducationCategory/DeleteList?idList[]=113&idList[]=4&idList[]=112&idList[]=3 application/json 24
INFO  2025-04-03 13:22:13,647 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:13,655 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:13,660 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:13,673 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:22:13,699 [42   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:22:13,726 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`GradeId` = @__id_0)
INFO  2025-04-03 13:22:13,737 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`
FROM `EducationCategories` AS `e`
WHERE `e`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 13:22:13,744 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`GradeId` = @__id_0)
WARN  2025-04-03 13:22:13,882 [49   ] Mvc.ExceptionHandling.AbpExceptionFilter - 当前教育类比正在被年级使用,禁止删除!
Abp.UI.UserFriendlyException: 当前教育类比正在被年级使用,禁止删除!
   at YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DeleteAsync(Int32 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\EducationCategories\EducationCategoryAppService.cs:line 183
   at YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DeleteListAsync(List`1 idList) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\EducationCategories\EducationCategoryAppService.cs:line 195
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:22:13,885 [49   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:13,887 [49   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 212.4413ms
INFO  2025-04-03 13:22:13,889 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:13,890 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 246.9677ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:22:21,782 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:22:21,784 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:21,792 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.6483ms 204 
INFO  2025-04-03 13:22:21,794 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:22:21,796 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:21,798 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:21,801 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:21,806 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:22:21,812 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:22:21,840 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:22:21,847 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:22:21,886 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:21,891 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 80.2927ms
INFO  2025-04-03 13:22:21,892 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:22:21,896 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.7603ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:22:24,772 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:22:24,774 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:24,777 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5544ms 204 
INFO  2025-04-03 13:22:24,778 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:22:24,780 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:24,781 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:24,783 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:24,787 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:22:24,859 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:24,861 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.0443ms
INFO  2025-04-03 13:22:24,863 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:24,864 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.8632ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:22:44,770 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:22:44,772 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:44,773 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1682ms 204 
INFO  2025-04-03 13:22:44,778 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:22:44,779 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:22:44,781 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:22:44,782 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:44,786 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:22:44,858 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:22:44,860 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.4128ms
INFO  2025-04-03 13:22:44,862 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:22:44,864 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.9746ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:23:04,785 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:23:04,786 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:04,788 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9902ms 204 
INFO  2025-04-03 13:23:04,792 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:23:04,793 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:04,795 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:23:04,797 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:04,801 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:23:04,866 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:23:04,868 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.9416ms
INFO  2025-04-03 13:23:04,869 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:04,871 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.4229ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:23:24,772 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:23:24,775 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:24,778 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0587ms 204 
INFO  2025-04-03 13:23:24,781 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:23:24,782 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:24,785 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:23:24,787 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:24,791 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:23:24,858 [53   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:23:24,860 [53   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.1751ms
INFO  2025-04-03 13:23:24,862 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:24,865 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.6655ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:23:44,771 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:23:44,772 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:44,775 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2989ms 204 
INFO  2025-04-03 13:23:44,777 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:23:44,779 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:23:44,782 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:23:44,783 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:44,788 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:23:44,849 [53   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:23:44,851 [53   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.2747ms
INFO  2025-04-03 13:23:44,853 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:23:44,855 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.5465ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:24:05,137 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:24:05,140 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:05,178 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5788ms 204 
INFO  2025-04-03 13:24:05,183 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:24:05,185 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:05,186 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:24:05,188 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:05,193 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:24:05,266 [53   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:24:05,268 [53   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.1619ms
INFO  2025-04-03 13:24:05,270 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:05,271 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.0998ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:24:06,270 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 13:24:25,129 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:24:25,133 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:25,135 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7328ms 204 
INFO  2025-04-03 13:24:25,138 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:24:25,140 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:25,142 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:24:25,144 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:25,148 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:24:25,220 [53   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:24:25,224 [53   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.8886ms
INFO  2025-04-03 13:24:25,226 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:25,227 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.7428ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:24:45,122 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:24:45,124 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:45,126 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7989ms 204 
INFO  2025-04-03 13:24:45,128 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:24:45,130 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:24:45,134 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:24:45,136 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:45,144 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:24:45,213 [53   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:24:45,215 [53   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.7209ms
INFO  2025-04-03 13:24:45,217 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:24:45,218 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.7519ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 13:25:19,210 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:25:19,255 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:25:19,274 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,275 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,275 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,275 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,276 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,277 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,277 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,277 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,277 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,277 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,278 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,279 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,280 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:25:19,316 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:25:19,316 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:25:19,316 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:25:19,316 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:25:19,316 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:25:19,879 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:19,889 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:20,124 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:25:20,823 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:25:20,877 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:25:20,923 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:25:20,939 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:25:21,036 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:25:21,064 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:25:21,068 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:25:21,194 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:25:21,236 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:25:21,236 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:25:21,240 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:25:21,241 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:25:21,242 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:25:22,018 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:25:22,463 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,510 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,517 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,524 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,530 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,537 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,557 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,565 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,573 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:25:22,586 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:25:22,593 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:25:22,600 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:25:22,606 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:25:23,439 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:25:23,563 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:25:23,580 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:25:23,582 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:25:23,583 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:25:23,584 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:25:23,692 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40512:92a895c6 successfully announced in 84.065 ms
INFO  2025-04-03 13:25:23,698 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40512:92a895c6 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:25:23,718 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40512:92a895c6 all the dispatchers started
INFO  2025-04-03 13:25:23,874 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:25:24,541 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:25:24,694 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:25:27,865 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:25:29,015 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:25:29,021 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1151.5741ms
INFO  2025-04-03 13:25:29,023 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:25:29,032 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4494.349ms 302 
INFO  2025-04-03 13:25:29,050 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:25:29,119 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 69.2632ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:25:29,169 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:25:29,171 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:25:29,175 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:25:29,205 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 36.1349ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:25:29,374 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:25:29,379 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:25:29,386 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:25:29,389 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:25:29,443 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:25:29,464 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 75.6054ms
INFO  2025-04-03 13:25:29,467 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:25:29,471 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.1385ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:25:29,682 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 292.3836ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:25:46,131 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:25:46,137 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:25:46,146 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.8111ms 204 
INFO  2025-04-03 13:25:46,148 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:25:46,150 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:25:46,257 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:25:46,338 [30   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:25:46,347 [30   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:25:46,665 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:25:46,674 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 319.0177ms
INFO  2025-04-03 13:25:46,683 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:25:46,687 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 538.1745ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:26:46,126 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:26:46,128 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:26:46,130 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7906ms 204 
INFO  2025-04-03 13:26:46,134 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:26:46,136 [27   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:26:46,143 [27   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:26:46,148 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:26:46,153 [27   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:26:46,223 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:26:46,226 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.3001ms
INFO  2025-04-03 13:26:46,227 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:26:46,229 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 94.9161ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:26:56,396 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:26:56,399 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:26:56,401 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.3593ms 204 
INFO  2025-04-03 13:26:56,403 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:26:56,405 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:26:56,410 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:26:56,413 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:26:56,430 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:26:57,525 [9    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:26:57,853 [9    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:26:57,858 [9    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 1425.4732ms
INFO  2025-04-03 13:26:57,859 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:26:57,861 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1457.9822ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:27:04,773 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:27:04,776 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:04,778 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4334ms 204 
INFO  2025-04-03 13:27:04,781 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:27:04,783 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:04,787 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:27:04,789 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:27:04,798 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:27:04,875 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:27:04,882 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.4617ms
INFO  2025-04-03 13:27:04,883 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:27:04,885 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.1825ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:27:09,950 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:27:09,952 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:09,954 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6832ms 204 
INFO  2025-04-03 13:27:09,961 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:27:09,963 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:09,970 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:27:09,972 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:27:09,982 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:27:10,063 [16   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:27:10,128 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:27:10,159 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:27:10,275 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:27:10,281 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 296.7274ms
INFO  2025-04-03 13:27:10,283 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:27:10,285 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 324.6277ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:27:11,238 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:27:11,240 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:11,243 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4794ms 204 
INFO  2025-04-03 13:27:11,249 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:27:11,252 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:11,257 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:27:11,261 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:27:11,267 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:27:11,269 [16   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:27:11,273 [16   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:27:11,277 [16   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 8.4562ms
INFO  2025-04-03 13:27:11,281 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:27:11,284 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 36.1844ms 500 application/json; charset=utf-8
DEBUG 2025-04-03 13:27:22,892 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:27:22,941 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:27:22,960 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,961 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,961 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,962 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,962 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,962 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,962 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,963 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,963 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,963 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,963 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,963 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,964 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,964 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,964 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,964 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,964 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,965 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,965 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,965 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,965 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,965 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:22,967 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:27:23,003 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:27:23,003 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:27:23,003 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:27:23,003 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:27:23,003 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:27:23,431 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:23,440 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:23,667 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:27:24,347 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:27:24,399 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:27:24,441 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:27:24,456 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:27:24,556 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:27:24,584 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:27:24,588 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:27:24,694 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:27:24,736 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:27:24,736 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:27:24,740 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:27:24,741 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:27:24,742 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:27:24,742 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:27:24,742 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:27:24,743 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:27:24,744 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:27:24,744 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:27:24,744 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:27:25,507 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:27:25,941 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:25,988 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:25,996 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,003 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,010 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,017 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,030 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,037 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,045 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:27:26,060 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:27:26,069 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:27:26,077 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:27:26,084 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:27:26,881 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:27:27,010 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:27:27,027 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:27:27,029 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:27:27,030 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:27:27,031 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:27:27,108 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:38596:9109b9bb successfully announced in 52.1389 ms
INFO  2025-04-03 13:27:27,116 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:38596:9109b9bb is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:27:27,143 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:38596:9109b9bb all the dispatchers started
INFO  2025-04-03 13:27:27,280 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:27:27,952 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:27:28,111 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:27:31,160 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:27:32,246 [15   ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:27:32,252 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1086.5178ms
INFO  2025-04-03 13:27:32,254 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:27:32,263 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4311.3775ms 302 
INFO  2025-04-03 13:27:32,278 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:27:32,340 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 61.7381ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:27:32,372 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:27:32,374 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:27:32,379 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.8383ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:27:32,408 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 37.5065ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:27:32,561 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:27:32,565 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:27:32,570 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:27:32,574 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:27:32,629 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:27:32,646 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 69.9563ms
INFO  2025-04-03 13:27:32,648 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:27:32,649 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.3327ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:27:32,814 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 243.1327ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:27:45,136 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:27:45,145 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:45,148 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 14.3459ms 204 
INFO  2025-04-03 13:27:45,149 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:27:45,151 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:27:45,266 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:27:45,348 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:27:45,357 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:27:45,644 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:27:45,647 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 287.1575ms
INFO  2025-04-03 13:27:45,648 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:27:45,650 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 500.078ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:28:05,135 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:28:05,139 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:05,142 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.1802ms 204 
INFO  2025-04-03 13:28:05,144 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:28:05,146 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:05,154 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:05,157 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:05,163 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:28:05,248 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:05,256 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 84.8368ms
INFO  2025-04-03 13:28:05,258 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:05,261 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.8189ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:28:17,400 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:28:17,402 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:17,405 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7228ms 204 
INFO  2025-04-03 13:28:17,411 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:28:17,413 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:17,427 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:17,433 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:17,453 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:28:17,918 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:28:18,263 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:28:18,296 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:28:18,414 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:18,421 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 965.6641ms
INFO  2025-04-03 13:28:18,423 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:18,426 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1015.2144ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:28:19,863 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:28:19,867 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:19,872 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.2391ms 204 
INFO  2025-04-03 13:28:19,874 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:28:19,876 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:19,884 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:19,886 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:19,897 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:28:20,139 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:28:20,186 [31   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:28:20,206 [31   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:28:20,262 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:20,268 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 369.3197ms
INFO  2025-04-03 13:28:20,270 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:20,272 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 397.5188ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:28:21,574 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:28:21,576 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:21,578 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8705ms 204 
INFO  2025-04-03 13:28:21,581 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:28:21,583 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:21,586 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:21,588 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:21,605 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:28:22,025 [15   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:28:22,328 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:22,333 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 724.37ms
INFO  2025-04-03 13:28:22,338 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:28:22,340 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 758.9399ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:28:24,790 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:28:24,793 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:24,800 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 20.4399ms 204 
INFO  2025-04-03 13:28:24,803 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:28:24,806 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:24,808 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:24,810 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:24,815 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:28:24,879 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:24,881 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.2171ms
INFO  2025-04-03 13:28:24,883 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:24,885 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 82.8543ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:28:44,784 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:28:44,787 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:44,789 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.8882ms 204 
INFO  2025-04-03 13:28:44,794 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:28:44,795 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:28:44,797 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:28:44,799 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:44,804 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:28:44,875 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:28:44,878 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.9099ms
INFO  2025-04-03 13:28:44,879 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:28:44,881 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.5934ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:29:04,786 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:29:04,788 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:04,790 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0846ms 204 
INFO  2025-04-03 13:29:04,794 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:29:04,796 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:04,798 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:29:04,801 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:04,806 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:29:04,878 [33   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:29:04,880 [33   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.4975ms
INFO  2025-04-03 13:29:04,882 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:04,885 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.2981ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:29:15,387 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:29:15,388 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:15,391 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1121ms 204 
INFO  2025-04-03 13:29:15,401 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:29:15,404 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:15,408 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:29:15,412 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:29:15,418 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:29:15,421 [11   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:29:15,424 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:29:15,428 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 7.4068ms
INFO  2025-04-03 13:29:15,431 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:29:15,434 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 32.835ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:29:24,778 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:29:24,780 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:24,781 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7176ms 204 
INFO  2025-04-03 13:29:24,784 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:29:24,786 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:24,788 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:29:24,790 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:24,799 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:29:24,866 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:29:24,869 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.1386ms
INFO  2025-04-03 13:29:24,870 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:24,872 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.9345ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:29:44,770 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:29:44,772 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:44,773 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.3804ms 204 
INFO  2025-04-03 13:29:44,777 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:29:44,779 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:29:44,781 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:29:44,784 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:44,789 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:29:44,863 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:29:44,865 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 74.2168ms
INFO  2025-04-03 13:29:44,867 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:29:44,868 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.3867ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:29:57,414 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 13:29:57,730 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 318.5282ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:30:05,137 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:30:05,139 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:05,142 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.1282ms 204 
INFO  2025-04-03 13:30:05,146 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:30:05,186 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:05,193 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:30:05,196 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:05,203 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:30:05,275 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:30:05,277 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.2901ms
INFO  2025-04-03 13:30:05,280 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:05,286 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 135.6824ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:30:15,717 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList  
INFO  2025-04-03 13:30:15,720 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:30:15,733 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:30:15,769 [5    ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:30:15,774 [5    ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:30:15,777 [5    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:30:15,779 [5    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 45.0182ms
INFO  2025-04-03 13:30:15,782 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:30:15,784 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 67.7612ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:30:25,139 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:30:25,142 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:25,145 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.9289ms 204 
INFO  2025-04-03 13:30:25,148 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:30:25,153 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:25,156 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:30:25,159 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:25,164 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:30:25,235 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:30:25,238 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.7914ms
INFO  2025-04-03 13:30:25,240 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:25,242 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 94.9855ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:30:45,131 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:30:45,133 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:45,135 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9101ms 204 
INFO  2025-04-03 13:30:45,137 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:30:45,139 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:30:45,142 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:30:45,145 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:45,154 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:30:45,226 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:30:45,229 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.4813ms
INFO  2025-04-03 13:30:45,231 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:30:45,235 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 95.467ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:31:05,140 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:31:05,143 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:05,146 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.2704ms 204 
INFO  2025-04-03 13:31:05,150 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:31:05,152 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:05,155 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:31:05,159 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:05,165 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:31:05,229 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:31:05,233 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.1674ms
INFO  2025-04-03 13:31:05,235 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:05,237 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.3764ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:31:06,612 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList  
INFO  2025-04-03 13:31:06,623 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:31:06,629 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:31:06,637 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:31:06,663 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:31:06,673 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:31:06,716 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:31:06,719 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 87.2102ms
INFO  2025-04-03 13:31:06,720 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:31:06,722 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 111.3365ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:31:25,129 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:31:25,132 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:25,137 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2123ms 204 
INFO  2025-04-03 13:31:25,142 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:31:25,143 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:25,146 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:31:25,149 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:25,155 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:31:25,668 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:31:25,670 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 513.2762ms
INFO  2025-04-03 13:31:25,671 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:25,673 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 533.4808ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:31:45,126 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:31:45,129 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:45,132 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.1834ms 204 
INFO  2025-04-03 13:31:45,140 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:31:45,144 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:31:45,148 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:31:45,152 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:45,189 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:31:45,256 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:31:45,259 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.7506ms
INFO  2025-04-03 13:31:45,261 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:31:45,264 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 124.7949ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:32:11,179 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetOne?id=0  
INFO  2025-04-03 13:32:11,189 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:11,198 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetOne", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto] GetOneAsync(Int32) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:32:11,200 [15   ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:32:11,202 [15   ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:32:11,204 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:32:11,206 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application) in 6.3258ms
INFO  2025-04-03 13:32:11,207 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:11,209 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 30.9123ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:32:24,845 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync  0
INFO  2025-04-03 13:32:24,853 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:32:24,859 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:24,867 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:32:24,868 [16   ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:32:24,870 [16   ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:32:24,871 [16   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:32:24,873 [16   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 4.7682ms
INFO  2025-04-03 13:32:24,874 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:24,876 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 32.7756ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:32:27,180 [og #1] Hangfire.Server.ServerWatchdog           - 2 servers were removed due to timeout
INFO  2025-04-03 13:32:39,222 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Courses/DataSync  0
INFO  2025-04-03 13:32:39,224 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:32:39,227 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:39,233 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:32:39,235 [5    ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:32:39,237 [5    ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:32:39,239 [5    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:32:39,242 [5    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 6.2931ms
INFO  2025-04-03 13:32:39,243 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:32:39,245 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 25.0222ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:32:46,133 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:32:46,136 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:32:46,138 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4942ms 204 
INFO  2025-04-03 13:32:46,142 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:32:46,144 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:32:46,146 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:32:46,148 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:32:46,152 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:32:46,434 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:32:46,436 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 282.1835ms
INFO  2025-04-03 13:32:46,438 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:32:46,439 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 297.0958ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:33:46,140 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:33:46,144 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:33:46,146 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.3237ms 204 
INFO  2025-04-03 13:33:46,150 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:33:46,153 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:33:46,155 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:33:46,159 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:33:46,163 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:33:46,226 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:33:46,228 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.0529ms
INFO  2025-04-03 13:33:46,230 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:33:46,231 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.2227ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:34:46,126 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:34:46,128 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:34:46,130 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1176ms 204 
INFO  2025-04-03 13:34:46,134 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:34:46,135 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:34:46,137 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:34:46,139 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:34:46,143 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:34:46,197 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:34:46,200 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 54.776ms
INFO  2025-04-03 13:34:46,202 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:34:46,204 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 70.2733ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:35:21,131 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList  
INFO  2025-04-03 13:35:21,134 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:35:21,145 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:35:21,153 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:35:21,177 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:35:21,187 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:35:21,228 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:35:21,230 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 83.1967ms
INFO  2025-04-03 13:35:21,232 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:35:21,233 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 104.0197ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:35:46,123 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:35:46,124 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:35:46,127 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.0698ms 204 
INFO  2025-04-03 13:35:46,129 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:35:46,131 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:35:46,133 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:35:46,134 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:35:46,138 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:35:46,204 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:35:46,206 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.3712ms
INFO  2025-04-03 13:35:46,208 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:35:46,211 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.5009ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:36:19,194 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList  
INFO  2025-04-03 13:36:19,197 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:19,201 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:36:19,206 [11   ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:36:19,209 [11   ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:36:19,210 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:36:19,212 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 9.1008ms
INFO  2025-04-03 13:36:19,214 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:19,215 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 21.4583ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:36:25,846 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:36:25,850 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:25,853 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.9242ms 204 
INFO  2025-04-03 13:36:25,862 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:36:25,865 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:25,867 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:36:25,869 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:36:25,874 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:36:25,935 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:36:25,938 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.4631ms
INFO  2025-04-03 13:36:25,942 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:36:25,946 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.2987ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:36:31,398 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:36:31,401 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:31,403 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9856ms 204 
INFO  2025-04-03 13:36:31,405 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:36:31,407 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:31,409 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:36:31,411 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:31,416 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:36:31,421 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:36:31,447 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:36:31,455 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:36:31,494 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:36:31,499 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 79.2743ms
INFO  2025-04-03 13:36:31,501 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:31,503 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 98.1737ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:36:44,621 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList  
INFO  2025-04-03 13:36:44,623 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:44,637 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:36:44,639 [46   ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:36:44,644 [46   ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:36:44,646 [46   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:36:44,647 [46   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 8.6109ms
INFO  2025-04-03 13:36:44,648 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:36:44,650 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 29.2092ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:36:45,132 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:36:45,134 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:45,135 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0288ms 204 
INFO  2025-04-03 13:36:45,137 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:36:45,138 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:36:45,141 [46   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:36:45,144 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:36:45,149 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:36:45,243 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:36:45,253 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 95.8991ms
INFO  2025-04-03 13:36:45,262 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:36:45,267 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 127.1744ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:37:05,134 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:37:05,136 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:05,176 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2835ms 204 
INFO  2025-04-03 13:37:05,179 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:37:05,183 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:05,186 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:37:05,189 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:05,195 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:37:05,257 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:37:05,259 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.7742ms
INFO  2025-04-03 13:37:05,261 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:05,262 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.5936ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:37:20,415 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:37:20,511 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 95.6759ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:37:25,118 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 13:37:25,133 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:37:25,136 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:25,141 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.0748ms 204 
INFO  2025-04-03 13:37:25,145 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:37:25,148 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:25,151 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:37:25,154 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:25,165 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:37:25,406 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 289.3392ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:37:26,338 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:37:26,340 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1172.7156ms
INFO  2025-04-03 13:37:26,342 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:26,344 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1199.9199ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:37:46,119 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:37:46,121 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:46,124 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7736ms 204 
INFO  2025-04-03 13:37:46,129 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:37:46,130 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:37:46,133 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:37:46,135 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:46,141 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:37:46,211 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:37:46,213 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.0605ms
INFO  2025-04-03 13:37:46,214 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:37:46,216 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.4053ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:05,865 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:38:05,867 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:05,869 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4398ms 204 
INFO  2025-04-03 13:38:05,870 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:38:05,872 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:05,875 [46   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:05,877 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:05,880 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:38:05,954 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:05,956 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 74.4843ms
INFO  2025-04-03 13:38:05,959 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:05,961 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.9949ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:08,280 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 13:38:08,283 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:08,285 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6109ms 204 
INFO  2025-04-03 13:38:08,287 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 13:38:08,289 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:08,293 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:08,297 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:08,305 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:38:08,968 [5    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:38:08,996 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 13:38:09,051 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:09,056 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 749.2576ms
INFO  2025-04-03 13:38:09,059 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:09,061 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 773.4949ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:10,100 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:38:10,102 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:10,103 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4779ms 204 
INFO  2025-04-03 13:38:10,108 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:38:10,109 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:10,112 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:10,114 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:10,119 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:38:10,122 [15   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:38:10,125 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:10,128 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 6.2522ms
INFO  2025-04-03 13:38:10,129 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:10,131 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 23.0896ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:38:12,235 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 13:38:12,237 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:12,239 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0765ms 204 
INFO  2025-04-03 13:38:12,240 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:38:12,242 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:38:12,243 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:12,245 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:12,247 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9445ms 204 
INFO  2025-04-03 13:38:12,248 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:12,250 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:38:12,251 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:12,253 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:12,255 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:12,269 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:12,272 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:38:12,274 [15   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:38:12,278 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:12,280 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 5.6118ms
INFO  2025-04-03 13:38:12,282 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:12,285 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 42.8226ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:38:12,287 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:38:12,986 [5    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:38:13,130 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 13:38:13,150 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 13:38:13,240 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:13,246 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 956.0831ms
INFO  2025-04-03 13:38:13,249 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:13,251 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1001.0485ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:14,956 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 13:38:14,957 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:14,959 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7205ms 204 
INFO  2025-04-03 13:38:14,960 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 13:38:14,962 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:14,965 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:14,967 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:14,970 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:38:14,973 [5    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:38:14,998 [17   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 13:38:15,042 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:15,044 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 72.1442ms
INFO  2025-04-03 13:38:15,046 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:15,048 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.4503ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:16,143 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 13:38:16,147 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:38:16,149 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:16,151 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:16,154 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:16,156 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:16,158 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:16,159 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:16,162 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:38:16,166 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 13:38:16,168 [15   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:38:16,171 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:16,172 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 8.7375ms
INFO  2025-04-03 13:38:16,174 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:16,177 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 34.6291ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:38:16,179 [5    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:38:16,207 [52   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 13:38:16,217 [52   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 13:38:16,256 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:16,258 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 90.1531ms
INFO  2025-04-03 13:38:16,261 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:38:16,263 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 119.0408ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:24,787 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:38:24,789 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:24,791 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5898ms 204 
INFO  2025-04-03 13:38:24,793 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:38:24,795 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:24,797 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:24,799 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:24,803 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:38:24,868 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:24,870 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.7854ms
INFO  2025-04-03 13:38:24,872 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:24,873 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.4908ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:38:44,779 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:38:44,781 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:44,782 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0561ms 204 
INFO  2025-04-03 13:38:44,786 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:38:44,787 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:38:44,789 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:38:44,790 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:44,794 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:38:44,857 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:38:44,859 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.352ms
INFO  2025-04-03 13:38:44,862 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:38:44,864 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.3654ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:39:04,783 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:39:04,785 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:04,812 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.3188ms 204 
INFO  2025-04-03 13:39:04,817 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:39:04,819 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:04,821 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:39:04,822 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:04,825 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:39:04,897 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:39:04,899 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.2443ms
INFO  2025-04-03 13:39:04,901 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:04,903 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 86.3904ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:39:24,771 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:39:24,773 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:24,774 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0324ms 204 
INFO  2025-04-03 13:39:24,776 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:39:24,777 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:24,779 [46   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:39:24,781 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:24,786 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:39:24,852 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:39:24,855 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.956ms
INFO  2025-04-03 13:39:24,857 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:24,859 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.2318ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:39:45,121 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:39:45,123 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:45,125 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5915ms 204 
INFO  2025-04-03 13:39:45,130 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:39:45,132 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:39:45,134 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:39:45,136 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:45,139 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:39:45,201 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:39:45,204 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.4783ms
INFO  2025-04-03 13:39:45,206 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:39:45,207 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.3696ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:40:05,122 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:40:05,124 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:05,125 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6236ms 204 
INFO  2025-04-03 13:40:05,129 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:40:05,130 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:05,132 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:40:05,133 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:05,136 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:40:05,196 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:40:05,198 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.119ms
INFO  2025-04-03 13:40:05,199 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:05,201 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 71.9918ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:40:25,132 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:40:25,133 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:25,135 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8526ms 204 
INFO  2025-04-03 13:40:25,136 [5    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:40:25,138 [5    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:25,140 [5    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:40:25,141 [5    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:25,145 [5    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:40:25,224 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:40:25,226 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.8107ms
INFO  2025-04-03 13:40:25,228 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:25,229 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.9619ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:40:46,136 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:40:46,138 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:46,140 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7856ms 204 
INFO  2025-04-03 13:40:46,142 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:40:46,144 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:40:46,146 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:40:46,147 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:46,151 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:40:51,027 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:40:51,028 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 4875.4552ms
INFO  2025-04-03 13:40:51,030 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:40:51,031 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4889.498ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:41:46,132 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:41:46,134 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:41:46,136 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0738ms 204 
INFO  2025-04-03 13:41:46,141 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:41:46,143 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:41:46,144 [47   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:41:46,146 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:41:46,150 [47   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:41:46,215 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:41:46,216 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.8409ms
INFO  2025-04-03 13:41:46,218 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:41:46,220 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.592ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:42:46,124 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:42:46,145 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:42:46,149 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 24.1146ms 204 
INFO  2025-04-03 13:42:46,158 [63   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:42:46,160 [63   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:42:46,162 [63   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:42:46,164 [63   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:42:46,168 [63   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:42:46,241 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:42:46,244 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.8349ms
INFO  2025-04-03 13:42:46,246 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:42:46,249 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.2803ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:43:09,136 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:43:09,142 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:09,145 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.9761ms 204 
INFO  2025-04-03 13:43:09,157 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:43:09,159 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:09,161 [47   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:43:09,163 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:09,167 [47   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:43:09,240 [17   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:43:09,242 [17   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.7264ms
INFO  2025-04-03 13:43:09,243 [17   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:09,245 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.5644ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:43:25,124 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:43:25,128 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:25,132 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.982ms 204 
INFO  2025-04-03 13:43:25,134 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:43:25,136 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:25,138 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:43:25,139 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:25,142 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:43:25,218 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:43:25,220 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.0083ms
INFO  2025-04-03 13:43:25,221 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:25,223 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.8064ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:43:45,131 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:43:45,132 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:45,135 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6368ms 204 
INFO  2025-04-03 13:43:45,136 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:43:45,138 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:43:45,140 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:43:45,141 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:45,146 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:43:45,213 [69   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:43:45,215 [69   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.4644ms
INFO  2025-04-03 13:43:45,216 [69   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:43:45,218 [69   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.8323ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:44:05,121 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:44:05,123 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:44:05,125 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7306ms 204 
INFO  2025-04-03 13:44:05,126 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:44:05,127 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:44:05,129 [67   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:44:05,130 [67   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:44:05,134 [67   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:44:05,192 [69   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:44:05,194 [69   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 58.9037ms
INFO  2025-04-03 13:44:05,196 [69   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:44:05,199 [69   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 71.5921ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:44:46,134 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:44:46,138 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:44:46,142 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.7921ms 204 
INFO  2025-04-03 13:44:46,145 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:44:46,147 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:44:46,149 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:44:46,150 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:44:46,153 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:44:46,232 [74   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:44:46,234 [74   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 78.2926ms
INFO  2025-04-03 13:44:46,235 [74   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:44:46,237 [74   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.3686ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:45:38,048 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:45:38,051 [72   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:45:38,055 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5871ms 204 
INFO  2025-04-03 13:45:38,068 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:45:38,069 [72   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:45:38,072 [72   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:45:38,075 [72   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:45:38,083 [72   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:45:38,146 [74   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:45:38,148 [74   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.0762ms
INFO  2025-04-03 13:45:38,149 [74   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:45:38,151 [74   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.7926ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:45:45,127 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:45:45,129 [72   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:45:45,130 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9811ms 204 
INFO  2025-04-03 13:45:45,132 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:45:45,133 [72   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:45:45,134 [72   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:45:45,136 [72   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:45:45,139 [72   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:45:45,213 [76   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:45:45,214 [76   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.4727ms
INFO  2025-04-03 13:45:45,216 [76   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:45:45,218 [76   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.932ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:46:05,134 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:46:05,136 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:05,139 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6054ms 204 
INFO  2025-04-03 13:46:05,140 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:46:05,142 [47   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:05,145 [47   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:46:05,147 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:05,151 [47   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:46:05,209 [78   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:46:05,211 [78   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 58.2009ms
INFO  2025-04-03 13:46:05,214 [78   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:05,216 [78   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 75.5832ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:46:25,133 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:46:25,136 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:25,138 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.8052ms 204 
INFO  2025-04-03 13:46:25,142 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:46:25,143 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:25,146 [71   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:46:25,148 [71   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:25,152 [71   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:46:25,217 [78   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:46:25,219 [78   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.2136ms
INFO  2025-04-03 13:46:25,221 [78   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:25,223 [78   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.1936ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:46:46,126 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:46:46,129 [72   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:46,133 [72   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.8196ms 204 
INFO  2025-04-03 13:46:46,138 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:46:46,140 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:46:46,142 [71   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:46:46,144 [71   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:46,148 [71   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:46:46,214 [78   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:46:46,216 [78   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.0336ms
INFO  2025-04-03 13:46:46,218 [78   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:46:46,219 [78   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.4381ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 13:47:46,063 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 13:47:46,108 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 13:47:46,123 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,124 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,124 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,124 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,125 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,125 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,125 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,125 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,125 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,126 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,126 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,126 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,126 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,126 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,127 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,127 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,127 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,127 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,128 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,128 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,128 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,128 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,131 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 13:47:46,169 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:47:46,169 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:47:46,169 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:47:46,169 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:47:46,169 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 13:47:46,638 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,647 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:46,841 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 13:47:47,515 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 13:47:47,567 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 13:47:47,607 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 13:47:47,623 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 13:47:47,721 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 13:47:47,748 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 13:47:47,752 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 13:47:47,855 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 13:47:47,893 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 13:47:47,893 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 13:47:47,897 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 13:47:47,897 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 13:47:47,897 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 13:47:47,897 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 13:47:47,898 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 13:47:47,899 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 13:47:47,899 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 13:47:48,650 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:47:49,093 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,141 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,149 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,161 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,167 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,173 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,186 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,194 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,200 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 13:47:49,214 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:47:49,221 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:47:49,230 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:47:49,236 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 13:47:50,032 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 13:47:50,164 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 13:47:50,179 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 13:47:50,181 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 13:47:50,183 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 13:47:50,184 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 13:47:50,258 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:36672:d553a732 successfully announced in 53.0666 ms
INFO  2025-04-03 13:47:50,265 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:36672:d553a732 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 13:47:50,293 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:36672:d553a732 all the dispatchers started
INFO  2025-04-03 13:47:50,425 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 13:47:50,839 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 13:47:51,000 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:47:54,160 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:47:55,242 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 13:47:55,246 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1081.9086ms
INFO  2025-04-03 13:47:55,248 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:47:55,256 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4417.2515ms 302 
INFO  2025-04-03 13:47:55,272 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 13:47:55,341 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 67.7786ms 200 text/html;charset=utf-8
INFO  2025-04-03 13:47:55,362 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 13:47:55,373 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 13:47:55,379 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.1259ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 13:47:55,406 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 44.0574ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 13:47:55,565 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 13:47:55,570 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:47:55,577 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 13:47:55,579 [8    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 13:47:55,650 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:47:55,667 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 86.5938ms
INFO  2025-04-03 13:47:55,671 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 13:47:55,674 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.9796ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:47:55,832 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 256.2643ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:48:23,200 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:48:23,206 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:23,211 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 12.0691ms 204 
INFO  2025-04-03 13:48:23,217 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:48:23,221 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:23,357 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:48:23,443 [26   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:23,451 [26   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:48:23,778 [26   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:23,781 [26   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 328.2208ms
INFO  2025-04-03 13:48:23,783 [26   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:23,785 [26   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 568.3871ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:48:24,580 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 13:48:24,582 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:24,584 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0451ms 204 
INFO  2025-04-03 13:48:24,587 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 13:48:24,590 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:24,597 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:48:24,601 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:24,622 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:48:24,781 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:48:24,785 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:24,794 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:48:24,796 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:24,808 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:48:24,889 [26   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:24,891 [26   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.4128ms
INFO  2025-04-03 13:48:24,896 [26   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:24,900 [26   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 118.2505ms 200 application/json; charset=utf-8
ERROR 2025-04-03 13:48:25,738 [10   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 13:48:26,046 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:26,050 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 1426.4229ms
INFO  2025-04-03 13:48:26,053 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:26,056 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1467.8848ms 500 application/json; charset=utf-8
INFO  2025-04-03 13:48:33,926 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 13:48:34,282 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 357.3467ms 200 application/json;charset=utf-8
INFO  2025-04-03 13:48:45,135 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:48:45,137 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:45,139 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4985ms 204 
INFO  2025-04-03 13:48:45,141 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:48:45,143 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:48:45,146 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:48:45,148 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:45,154 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:48:45,228 [30   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:45,230 [30   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 74.9363ms
INFO  2025-04-03 13:48:45,232 [30   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:48:45,234 [30   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 93.2906ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:48:45,438 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList  
INFO  2025-04-03 13:48:45,444 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:45,452 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:48:45,498 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:48:45,544 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 13:48:45,573 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 13:48:45,698 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:45,704 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 249.675ms
INFO  2025-04-03 13:48:45,706 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:45,710 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 271.3295ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:48:54,613 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 13:48:54,616 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:54,659 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 13:48:54,697 [10   ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable`1 authorizeAttributes)
   at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type)
   at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type)
   at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
INFO  2025-04-03 13:48:54,702 [10   ] c.Infrastructure.ControllerActionInvoker - Authorization failed for the request at filter 'Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter'.
INFO  2025-04-03 13:48:54,704 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:48:54,708 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 46.0439ms
INFO  2025-04-03 13:48:54,710 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:48:54,712 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.0386ms 401 application/json; charset=utf-8
INFO  2025-04-03 13:49:05,128 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:49:05,130 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:05,134 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.5125ms 204 
INFO  2025-04-03 13:49:05,138 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:49:05,140 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:05,143 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:49:05,146 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:05,152 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:49:05,223 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:49:05,226 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.3366ms
INFO  2025-04-03 13:49:05,228 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:05,230 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.1813ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:49:14,035 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/EducationCategory/GetList  
INFO  2025-04-03 13:49:14,038 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:49:14,061 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "EducationCategory"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.EducationCategories.Dto.EducationCategoryDto]] GetListAsync(YGNT.QuestionLibrary.EducationCategories.Dto.SearchEducationCategoriesInputDto) on controller YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 13:49:14,072 [10   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 13:49:14,162 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `EducationCategories` AS `e`
INFO  2025-04-03 13:49:14,190 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `e`.`Id`, `e`.`CreationTime`, `e`.`CreatorUserId`, `e`.`IsActive`, `e`.`Name`, `e`.`SourceId`, (
    SELECT COUNT(*)
    FROM `Grades` AS `g`
    WHERE (`e`.`Id` = `g`.`EducationCategoryId`) AND `g`.`Id` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
)
FROM `EducationCategories` AS `e`
ORDER BY `e`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 13:49:14,307 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:49:14,313 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 249.4661ms
INFO  2025-04-03 13:49:14,315 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.EducationCategories.EducationCategoryAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 13:49:14,317 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 282.7168ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:49:25,127 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:49:25,129 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:25,130 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9805ms 204 
INFO  2025-04-03 13:49:25,132 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:49:25,133 [8    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:25,135 [8    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:49:25,137 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:25,141 [8    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:49:25,219 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:49:25,221 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 78.1876ms
INFO  2025-04-03 13:49:25,223 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:25,224 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.4655ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:49:46,136 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:49:46,138 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:46,141 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7129ms 204 
INFO  2025-04-03 13:49:46,148 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:49:46,150 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:49:46,152 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:49:46,154 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:46,159 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:49:46,231 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:49:46,233 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.789ms
INFO  2025-04-03 13:49:46,235 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:49:46,237 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.0023ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:50:46,128 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:50:46,130 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:50:46,133 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5059ms 204 
INFO  2025-04-03 13:50:46,136 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:50:46,138 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:50:46,140 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:50:46,143 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:50:46,147 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:50:46,217 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:50:46,219 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.3172ms
INFO  2025-04-03 13:50:46,220 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:50:46,222 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.8035ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:51:46,133 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:51:46,134 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:51:46,136 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5025ms 204 
INFO  2025-04-03 13:51:46,142 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:51:46,144 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:51:46,146 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:51:46,148 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:51:46,152 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:51:46,222 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:51:46,224 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.8598ms
INFO  2025-04-03 13:51:46,226 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:51:46,228 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.8722ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:52:24,107 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:52:24,110 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:52:24,146 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0686ms 204 
INFO  2025-04-03 13:52:24,151 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:52:24,152 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:52:24,155 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:52:24,156 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:52:24,160 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:52:24,226 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:52:24,228 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.7254ms
INFO  2025-04-03 13:52:24,230 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:52:24,232 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.3359ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:52:44,777 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:52:44,780 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:52:44,781 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4834ms 204 
INFO  2025-04-03 13:52:44,785 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:52:44,786 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:52:44,790 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:52:44,791 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:52:44,795 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:52:44,865 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:52:44,868 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.45ms
INFO  2025-04-03 13:52:44,871 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:52:44,874 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.1878ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:52:50,327 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 13:53:05,131 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:53:05,133 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:05,135 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5325ms 204 
INFO  2025-04-03 13:53:05,142 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:53:05,144 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:05,145 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:53:05,147 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:05,151 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:53:05,213 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:53:05,216 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.6043ms
INFO  2025-04-03 13:53:05,218 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:05,220 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.5304ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:53:25,128 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:53:25,130 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:25,131 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.004ms 204 
INFO  2025-04-03 13:53:25,136 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:53:25,138 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:25,141 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:53:25,143 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:25,147 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:53:25,202 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:53:25,205 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 55.9003ms
INFO  2025-04-03 13:53:25,206 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:25,207 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 71.8ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:53:45,134 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:53:45,135 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:45,137 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8412ms 204 
INFO  2025-04-03 13:53:45,139 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:53:45,141 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:53:45,143 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:53:45,144 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:45,148 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:53:45,214 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:53:45,216 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.8218ms
INFO  2025-04-03 13:53:45,217 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:53:45,218 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.279ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:54:05,133 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:54:05,135 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:05,138 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1721ms 204 
INFO  2025-04-03 13:54:05,140 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:54:05,142 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:05,144 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:54:05,146 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:05,153 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:54:05,230 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:54:05,232 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 77.2723ms
INFO  2025-04-03 13:54:05,234 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:05,236 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.4107ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:54:25,124 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:54:25,125 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:25,127 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.2822ms 204 
INFO  2025-04-03 13:54:25,130 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:54:25,132 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:25,134 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:54:25,136 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:25,142 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:54:25,209 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:54:25,211 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.1938ms
INFO  2025-04-03 13:54:25,212 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:25,213 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.0236ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:54:45,135 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:54:45,137 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:45,138 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4172ms 204 
INFO  2025-04-03 13:54:45,140 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:54:45,141 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:54:45,143 [45   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:54:45,145 [45   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:45,149 [45   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:54:45,212 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:54:45,214 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.0213ms
INFO  2025-04-03 13:54:45,216 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:54:45,218 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.6904ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:55:46,126 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:55:46,128 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:55:46,130 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.4761ms 204 
INFO  2025-04-03 13:55:46,136 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:55:46,138 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:55:46,140 [46   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:55:46,142 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:55:46,146 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:55:46,244 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:55:46,247 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 98.7881ms
INFO  2025-04-03 13:55:46,250 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:55:46,252 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 115.9381ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:56:46,128 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:56:46,129 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:56:46,131 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.0879ms 204 
INFO  2025-04-03 13:56:46,136 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:56:46,137 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:56:46,139 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:56:46,141 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:56:46,144 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:56:46,236 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:56:46,238 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 92.3729ms
INFO  2025-04-03 13:56:46,240 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:56:46,241 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.9023ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:57:46,133 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:57:46,135 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:57:46,138 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.826ms 204 
INFO  2025-04-03 13:57:46,145 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:57:46,147 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:57:46,150 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:57:46,153 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:57:46,157 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:57:46,236 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:57:46,239 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.0059ms
INFO  2025-04-03 13:57:46,241 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:57:46,243 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 98.9514ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:58:46,136 [58   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:58:46,139 [58   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:58:46,141 [58   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9162ms 204 
INFO  2025-04-03 13:58:46,144 [58   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:58:46,171 [58   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:58:46,173 [58   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:58:46,175 [58   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:58:46,180 [58   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:58:46,248 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:58:46,250 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.1563ms
INFO  2025-04-03 13:58:46,252 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:58:46,254 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.3846ms 200 application/json; charset=utf-8
INFO  2025-04-03 13:59:46,124 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 13:59:46,126 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:59:46,129 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0877ms 204 
INFO  2025-04-03 13:59:46,134 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 13:59:46,136 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 13:59:46,138 [59   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 13:59:46,140 [59   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:59:46,144 [59   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 13:59:46,235 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 13:59:46,237 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 91.0846ms
INFO  2025-04-03 13:59:46,238 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 13:59:46,239 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 108.0385ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:00:46,135 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:00:46,141 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:00:46,145 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.625ms 204 
INFO  2025-04-03 14:00:46,154 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:00:46,155 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:00:46,157 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:00:46,159 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:00:46,163 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:00:46,257 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:00:46,259 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 93.6909ms
INFO  2025-04-03 14:00:46,260 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:00:46,262 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 108.1018ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:01:46,140 [62   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:01:46,144 [62   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:01:46,150 [62   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.8018ms 204 
INFO  2025-04-03 14:01:46,154 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:01:46,156 [64   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:01:46,158 [64   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:01:46,159 [64   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:01:46,164 [64   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:01:46,257 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:01:46,259 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 93.7802ms
INFO  2025-04-03 14:01:46,261 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:01:46,263 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.0657ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:02:46,121 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:02:46,123 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:02:46,125 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6537ms 204 
INFO  2025-04-03 14:02:46,127 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:02:46,128 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:02:46,130 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:02:46,132 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:02:46,136 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:02:46,227 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:02:46,229 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 92.044ms
INFO  2025-04-03 14:02:46,231 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:02:46,232 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.4498ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:03:46,123 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:03:46,125 [64   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:03:46,127 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4885ms 204 
INFO  2025-04-03 14:03:46,129 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:03:46,130 [64   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:03:46,132 [64   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:03:46,134 [64   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:03:46,139 [64   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:03:46,234 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:03:46,236 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 96.0411ms
INFO  2025-04-03 14:03:46,238 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:03:46,239 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 110.4519ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:04:46,133 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:04:46,137 [65   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:04:46,140 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2785ms 204 
INFO  2025-04-03 14:04:46,144 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:04:46,147 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:04:46,149 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:04:46,152 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:04:46,157 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:04:46,236 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:04:46,242 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.6769ms
INFO  2025-04-03 14:04:46,245 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:04:46,247 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 103.4029ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:05:46,135 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:05:46,137 [65   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:05:46,141 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0638ms 204 
INFO  2025-04-03 14:05:46,151 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:05:46,152 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:05:46,154 [59   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:05:46,155 [59   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:05:46,161 [59   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:05:46,246 [63   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:05:46,248 [63   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 85.1531ms
INFO  2025-04-03 14:05:46,249 [63   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:05:46,251 [63   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 99.9198ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:06:46,128 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:06:46,130 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:06:46,132 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3427ms 204 
INFO  2025-04-03 14:06:46,133 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:06:46,135 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:06:46,139 [59   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:06:46,143 [59   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:06:46,148 [59   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:06:46,254 [63   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:06:46,256 [63   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 106.061ms
INFO  2025-04-03 14:06:46,258 [63   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:06:46,260 [63   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 126.6988ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:07:46,134 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:07:46,143 [68   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:07:46,151 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 18.0398ms 204 
INFO  2025-04-03 14:07:46,173 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:07:46,175 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:07:46,177 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:07:46,179 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:07:46,183 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:07:46,249 [63   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:07:46,251 [63   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.5437ms
INFO  2025-04-03 14:07:46,254 [63   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:07:46,255 [63   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.9745ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:08:46,136 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:08:46,138 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:08:46,140 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2461ms 204 
INFO  2025-04-03 14:08:46,142 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:08:46,143 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:08:46,145 [67   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:08:46,177 [63   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:08:46,180 [63   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:08:46,252 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:08:46,254 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.1881ms
INFO  2025-04-03 14:08:46,256 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:08:46,257 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 115.5891ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:09:46,136 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:09:46,138 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:09:46,139 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8765ms 204 
INFO  2025-04-03 14:09:46,143 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:09:46,145 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:09:46,147 [67   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:09:46,149 [67   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:09:46,153 [67   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:09:46,227 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:09:46,229 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.8979ms
INFO  2025-04-03 14:09:46,230 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:09:46,231 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.4268ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:10:46,128 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:10:46,133 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:10:46,135 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.9429ms 204 
INFO  2025-04-03 14:10:46,139 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:10:46,141 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:10:46,143 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:10:46,144 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:10:46,148 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:10:46,232 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:10:46,234 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 84.5499ms
INFO  2025-04-03 14:10:46,235 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:10:46,237 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 99.2416ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:11:46,135 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:11:46,137 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:11:46,140 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7021ms 204 
INFO  2025-04-03 14:11:46,142 [67   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:11:46,143 [67   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:11:46,145 [67   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:11:46,146 [67   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:11:46,151 [67   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:11:46,242 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:11:46,244 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 91.6306ms
INFO  2025-04-03 14:11:46,248 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:11:46,250 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 108.32ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:12:46,133 [76   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:12:46,135 [76   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:12:46,136 [76   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5482ms 204 
INFO  2025-04-03 14:12:46,141 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:12:46,142 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:12:46,144 [71   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:12:46,146 [71   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:12:46,150 [71   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:12:46,226 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:12:46,228 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.9184ms
INFO  2025-04-03 14:12:46,229 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:12:46,231 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.5322ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:13:46,122 [77   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:13:46,124 [77   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:13:46,126 [77   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6844ms 204 
INFO  2025-04-03 14:13:46,128 [77   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:13:46,131 [77   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:13:46,133 [77   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:13:46,136 [77   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:13:46,141 [77   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:13:46,220 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:13:46,221 [70   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.1054ms
INFO  2025-04-03 14:13:46,222 [70   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:13:46,224 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.3116ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 14:14:23,420 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:14:23,466 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:14:23,483 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,484 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,484 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,484 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,485 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,485 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,485 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,485 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,485 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,486 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,486 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,486 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,486 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,486 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,487 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,487 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,487 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,487 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,488 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,488 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,488 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,488 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:23,490 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:14:23,526 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:14:23,527 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:14:23,527 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:14:23,527 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:14:23,527 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:14:23,990 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:24,000 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:24,256 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:14:24,995 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:14:25,047 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:14:25,090 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:14:25,105 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:14:25,201 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:14:25,229 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:14:25,232 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:14:25,338 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:14:25,379 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:14:25,380 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:14:25,383 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:14:25,384 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:14:25,385 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:14:26,160 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:14:26,601 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,651 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,659 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,665 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,671 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,678 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,692 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,697 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,705 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:14:26,718 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:14:26,724 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:14:26,730 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:14:26,737 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:14:27,515 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:14:27,641 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:14:27,656 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:14:27,658 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:14:27,659 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:14:27,661 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:14:27,732 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42088:cc124605 successfully announced in 46.2243 ms
INFO  2025-04-03 14:14:27,738 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42088:cc124605 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:14:27,794 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42088:cc124605 all the dispatchers started
INFO  2025-04-03 14:14:27,945 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:14:28,265 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:14:28,422 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:14:31,527 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:14:32,572 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:14:32,578 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1046.3286ms
INFO  2025-04-03 14:14:32,580 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:14:32,588 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4323.5102ms 302 
INFO  2025-04-03 14:14:32,606 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:14:32,672 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 65.2702ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:14:32,703 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:14:32,705 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:14:32,709 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.5267ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:14:32,743 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 43.0845ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:14:32,890 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:14:32,895 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:14:32,900 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:14:32,906 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:14:32,980 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:33,000 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 91.4772ms
INFO  2025-04-03 14:14:33,003 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:14:33,006 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 117.0646ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:14:33,193 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 292.927ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:14:34,616 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:14:34,625 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:34,629 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.6854ms 204 
INFO  2025-04-03 14:14:34,631 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:14:34,633 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:34,752 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:14:34,831 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:14:34,841 [27   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:14:35,127 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:35,129 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 286.4387ms
INFO  2025-04-03 14:14:35,130 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:14:35,132 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 501.3488ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:14:36,646 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:14:36,649 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:36,651 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.6046ms 204 
INFO  2025-04-03 14:14:36,654 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:14:36,657 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:36,662 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:14:36,665 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:36,684 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:14:37,404 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:14:37,453 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 14:14:37,485 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:14:37,601 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:37,608 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 922.0629ms
INFO  2025-04-03 14:14:37,609 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:37,611 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 957.5028ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:14:38,605 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:14:38,609 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:38,611 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.5913ms 204 
INFO  2025-04-03 14:14:38,613 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:14:38,615 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:38,632 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:14:38,636 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:38,651 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:14:39,099 [10   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:14:39,438 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:39,442 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 789.2278ms
INFO  2025-04-03 14:14:39,444 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:39,446 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 832.7472ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:14:44,046 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 14:14:44,353 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 310.9714ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:14:45,133 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:14:45,135 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:45,137 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.293ms 204 
INFO  2025-04-03 14:14:45,139 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:14:45,141 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:14:45,146 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:14:45,148 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:14:45,153 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:14:45,219 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:45,222 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.4819ms
INFO  2025-04-03 14:14:45,223 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:14:45,225 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 86.5261ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:14:56,371 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:14:56,374 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:56,383 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:14:56,384 [9    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:14:56,424 [9    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:14:56,426 [9    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 40.928ms
INFO  2025-04-03 14:14:56,427 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:14:56,429 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 59.5554ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:15:05,124 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:15:05,126 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:05,129 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5183ms 204 
INFO  2025-04-03 14:15:05,134 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:15:05,136 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:05,138 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:15:05,141 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:05,147 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:15:05,266 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:15:05,269 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 119.6542ms
INFO  2025-04-03 14:15:05,270 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:05,272 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 138.3447ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:15:25,136 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:15:25,137 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:25,139 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.8363ms 204 
INFO  2025-04-03 14:15:25,144 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:15:25,145 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:25,147 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:15:25,149 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:25,154 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:15:25,222 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:15:25,225 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.0189ms
INFO  2025-04-03 14:15:25,227 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:25,229 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.0804ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:15:43,475 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:15:43,485 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:15:43,494 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:15:43,495 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:15:43,500 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:15:43,502 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 6.8321ms
INFO  2025-04-03 14:15:43,503 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:15:43,505 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 31.1029ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:15:45,136 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:15:45,141 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:45,144 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 13.0129ms 204 
INFO  2025-04-03 14:15:45,150 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:15:45,152 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:15:45,154 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:15:45,156 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:45,162 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:15:45,229 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:15:45,232 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.9729ms
INFO  2025-04-03 14:15:45,233 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:15:45,235 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.6097ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:16:05,129 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:16:05,131 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:05,133 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.5999ms 204 
INFO  2025-04-03 14:16:05,138 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:16:05,139 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:05,141 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:16:05,143 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:05,147 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:16:05,216 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:16:05,219 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.5718ms
INFO  2025-04-03 14:16:05,220 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:05,222 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.6674ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:16:05,556 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList  
INFO  2025-04-03 14:16:05,567 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:16:05,574 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:16:05,581 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:16:05,603 [27   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 14:16:05,613 [27   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:16:05,656 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:16:05,659 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 82.826ms
INFO  2025-04-03 14:16:05,662 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:16:05,664 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.8274ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:16:13,848 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList  
INFO  2025-04-03 14:16:13,854 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:16:13,859 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:16:13,861 [10   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:16:13,865 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:16:13,869 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 6.6814ms
INFO  2025-04-03 14:16:13,871 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:16:13,873 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 26.6385ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:16:25,127 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:16:25,129 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:25,130 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9403ms 204 
INFO  2025-04-03 14:16:25,132 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:16:25,133 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:25,135 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:16:25,137 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:25,141 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:16:25,208 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:16:25,210 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.4215ms
INFO  2025-04-03 14:16:25,212 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:25,215 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 82.4528ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:16:46,131 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:16:46,134 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:46,135 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3687ms 204 
INFO  2025-04-03 14:16:46,137 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:16:46,139 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:16:46,146 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:16:46,148 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:46,153 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:16:46,283 [43   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:16:46,285 [43   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 130.2549ms
INFO  2025-04-03 14:16:46,287 [43   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:16:46,288 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 151.0134ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:17:13,218 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetOne?id=0  
INFO  2025-04-03 14:17:13,221 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:17:13,231 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetOne", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto] GetOneAsync(Int32) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:17:13,235 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:17:13,239 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:17:13,242 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application) in 7.7249ms
INFO  2025-04-03 14:17:13,244 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetOneAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:17:13,245 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 27.6479ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:17:46,131 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:17:46,133 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:17:46,137 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.496ms 204 
INFO  2025-04-03 14:17:46,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:17:46,141 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:17:46,144 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:17:46,146 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:17:46,151 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:17:46,218 [44   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:17:46,221 [44   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.1673ms
INFO  2025-04-03 14:17:46,222 [44   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:17:46,225 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.2246ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:18:46,132 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:18:46,135 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:18:46,140 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0427ms 204 
INFO  2025-04-03 14:18:46,143 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:18:46,146 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:18:46,148 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:18:46,150 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:18:46,155 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:18:46,295 [51   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:18:46,298 [51   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 141.047ms
INFO  2025-04-03 14:18:46,300 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:18:46,303 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 159.7229ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 14:22:14,230 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:22:14,300 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:22:14,319 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,320 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,320 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,320 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,320 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,321 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,321 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,321 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,321 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,321 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,322 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,322 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,322 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,322 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,322 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,323 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,324 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,326 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:22:14,366 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:22:14,366 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:22:14,366 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:22:14,366 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:22:14,366 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:22:14,844 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:14,853 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:15,094 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:22:15,816 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:22:15,868 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:22:15,909 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:22:15,926 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:22:16,022 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:22:16,050 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:22:16,053 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:22:16,157 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:22:16,198 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:22:16,198 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:22:16,202 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:22:16,202 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:22:16,203 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:22:16,204 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:22:16,204 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:22:16,204 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:22:16,204 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:22:16,204 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:22:16,991 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:22:17,435 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,487 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,497 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,503 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,510 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,516 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,530 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,537 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,542 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:22:17,560 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:22:17,568 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:22:17,576 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:22:17,584 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:22:18,384 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:22:18,507 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:22:18,524 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:22:18,525 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:22:18,527 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:22:18,528 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:22:18,601 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42492:8e44f6aa successfully announced in 51.2681 ms
INFO  2025-04-03 14:22:18,607 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42492:8e44f6aa is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:22:18,625 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:42492:8e44f6aa all the dispatchers started
INFO  2025-04-03 14:22:18,635 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 14:22:18,775 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:22:19,033 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:22:19,175 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:22:22,598 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:22:23,631 [14   ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:22:23,637 [14   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1034.7769ms
INFO  2025-04-03 14:22:23,638 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:22:23,647 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4613.7368ms 302 
INFO  2025-04-03 14:22:23,665 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:22:23,728 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 63.1685ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:22:23,768 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:22:23,772 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:22:23,778 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 13.9287ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:22:23,809 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 37.5617ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:22:23,964 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:22:23,974 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:22:23,978 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:22:23,991 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:22:24,092 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:22:24,110 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 116.4496ms
INFO  2025-04-03 14:22:24,112 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:22:24,114 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 150.4532ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:22:24,260 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 282.5076ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:22:46,135 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:22:46,143 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:22:46,146 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 12.8336ms 204 
INFO  2025-04-03 14:22:46,152 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:22:46,155 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:22:46,276 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:22:46,365 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:22:46,374 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:22:46,668 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:22:46,672 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 295.9896ms
INFO  2025-04-03 14:22:46,674 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:22:46,677 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 525.4452ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:23:24,851 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 14:23:25,202 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 352.0555ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:23:35,195 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:23:35,200 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:23:35,211 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:23:35,216 [16   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:23:35,516 [16   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:23:35,521 [16   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 307.8564ms
INFO  2025-04-03 14:23:35,523 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:23:35,525 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 330.3314ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:23:46,130 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:23:46,132 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:23:46,135 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0298ms 204 
INFO  2025-04-03 14:23:46,137 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:23:46,139 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:23:46,145 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:23:46,147 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:23:46,153 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:23:46,254 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:23:46,256 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 101.0928ms
INFO  2025-04-03 14:23:46,258 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:23:46,260 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 122.6282ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:24:46,135 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:24:46,137 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:24:46,141 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0335ms 204 
INFO  2025-04-03 14:24:46,146 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:24:46,149 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:24:46,152 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:24:46,158 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:24:46,166 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:24:46,252 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:24:46,255 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 86.7186ms
INFO  2025-04-03 14:24:46,257 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:24:46,259 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 113.2818ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:25:46,127 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:25:46,129 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:25:46,134 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.2106ms 204 
INFO  2025-04-03 14:25:46,136 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:25:46,138 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:25:46,140 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:25:46,143 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:25:46,148 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:25:46,248 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:25:46,250 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 100.6495ms
INFO  2025-04-03 14:25:46,252 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:25:46,254 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 118.0179ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:26:12,843 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/CognitiveAbility/GetList  
INFO  2025-04-03 14:26:12,848 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.CognitiveAbilities.CognitiveAbilityAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:26:12,865 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "CognitiveAbility"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.CognitiveAbilities.Dto.CognitiveAbilityDto]] GetListAsync(YGNT.Infrastructure.Model.SearchBaseInputDto) on controller YGNT.QuestionLibrary.CognitiveAbilities.CognitiveAbilityAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:26:13,123 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:26:13,155 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `CognitiveAbilities` AS `c`
INFO  2025-04-03 14:26:13,174 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`Name`
FROM `CognitiveAbilities` AS `c`
ORDER BY `c`.`Name`
LIMIT @__p_1 OFFSET @__p_0
INFO  2025-04-03 14:26:13,222 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:26:13,228 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.CognitiveAbilities.CognitiveAbilityAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 360.0078ms
INFO  2025-04-03 14:26:13,229 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.CognitiveAbilities.CognitiveAbilityAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:26:13,231 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 388.6041ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:26:18,900 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Courses/DataSync  0
INFO  2025-04-03 14:26:18,903 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:26:18,907 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:26:18,914 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:26:18,918 [12   ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:26:18,921 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:26:18,923 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 7.184ms
INFO  2025-04-03 14:26:18,926 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:26:18,928 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 28.3893ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:26:46,128 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:26:46,132 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:26:46,135 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.7536ms 204 
INFO  2025-04-03 14:26:46,137 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:26:46,140 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:26:46,143 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:26:46,145 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:26:46,152 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:26:48,015 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:26:48,018 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1864.5298ms
INFO  2025-04-03 14:26:48,020 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:26:48,022 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1884.6277ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:27:20,948 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 14:27:46,134 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:27:46,136 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:27:46,138 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3201ms 204 
INFO  2025-04-03 14:27:46,143 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:27:46,145 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:27:46,148 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:27:46,150 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:27:46,155 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:27:46,551 [14   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:27:46,553 [14   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 396.2671ms
INFO  2025-04-03 14:27:46,554 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:27:46,556 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 413.3973ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 14:28:13,034 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:28:13,081 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:28:13,102 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,103 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,103 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,103 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,104 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,104 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,104 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,104 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,104 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,105 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,105 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,105 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,105 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,105 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,106 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,107 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,107 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,108 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:28:13,146 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:28:13,146 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:28:13,146 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:28:13,146 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:28:13,146 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:28:13,606 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,616 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:13,892 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:28:14,587 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:28:14,645 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:28:14,687 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:28:14,703 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:28:14,800 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:28:14,829 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:28:14,833 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:28:14,935 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:28:14,977 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:28:14,977 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:28:14,981 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:28:14,981 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:28:14,981 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:28:14,982 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:28:14,983 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:28:14,983 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:28:14,983 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:28:15,733 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:28:16,175 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,223 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,232 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,240 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,248 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,255 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,268 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,276 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,284 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:28:16,300 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:28:16,307 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:28:16,314 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:28:16,320 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:28:17,149 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:28:17,289 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:28:17,306 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:28:17,308 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:28:17,309 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:28:17,310 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:28:17,432 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40364:013a3362 successfully announced in 98.4468 ms
INFO  2025-04-03 14:28:17,449 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40364:013a3362 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:28:17,466 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:40364:013a3362 all the dispatchers started
INFO  2025-04-03 14:28:17,579 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:28:18,325 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:28:18,466 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:28:21,724 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:28:24,180 [6    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:28:24,186 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 2456.6917ms
INFO  2025-04-03 14:28:24,188 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:28:24,197 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5871.3087ms 302 
INFO  2025-04-03 14:28:24,212 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:28:24,274 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 60.5208ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:28:24,300 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:28:24,304 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:28:24,307 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3572ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:28:24,340 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 40.373ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:28:24,520 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:28:24,524 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:28:24,527 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:28:24,533 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:28:24,701 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:28:24,718 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 182.0497ms
INFO  2025-04-03 14:28:24,720 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:28:24,722 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 202.3647ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:28:24,782 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 255.6976ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:28:27,240 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 14:28:27,550 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 311.969ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:28:38,607 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:28:38,611 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:28:38,622 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:28:38,627 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:28:38,660 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:28:38,665 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 40.4414ms
INFO  2025-04-03 14:28:38,666 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:28:38,668 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 61.3725ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:28:46,140 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:28:46,145 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:28:46,148 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.9882ms 204 
INFO  2025-04-03 14:28:46,150 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:28:46,152 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:28:46,272 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:28:46,356 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:28:46,364 [32   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:28:46,647 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:28:46,652 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 284.4076ms
INFO  2025-04-03 14:28:46,653 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:28:46,655 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 504.7991ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:29:46,132 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:29:46,139 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:29:46,148 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.8069ms 204 
INFO  2025-04-03 14:29:46,162 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:29:46,164 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:29:46,170 [35   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:29:46,174 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:29:46,182 [35   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:29:46,251 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:29:46,253 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.8627ms
INFO  2025-04-03 14:29:46,255 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:29:46,257 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 98.6756ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 14:42:10,124 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:42:10,177 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:42:10,195 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,196 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,196 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,197 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,197 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,197 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,197 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,198 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,198 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,198 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,199 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,199 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,199 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,199 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,199 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,200 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,201 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,202 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:42:10,250 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:42:10,250 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:42:10,250 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:42:10,250 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:42:10,250 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:42:10,712 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,722 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:10,953 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:42:11,712 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:42:11,765 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:42:11,810 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:42:11,825 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:42:11,922 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:42:11,951 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:42:11,955 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:42:12,057 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:42:12,096 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:42:12,096 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:42:12,101 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:42:12,101 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:42:12,102 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:42:12,103 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:42:12,103 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:42:12,103 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:42:12,103 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:42:12,103 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:42:12,880 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:42:13,648 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,703 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,715 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,724 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,731 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,737 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,749 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,756 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,764 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:42:13,780 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:42:13,788 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:42:13,794 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:42:13,802 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:42:14,589 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:42:14,722 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:42:14,737 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:42:14,738 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:42:14,740 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:42:14,742 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:42:14,813 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:39380:76675f1d successfully announced in 47.2598 ms
INFO  2025-04-03 14:42:14,821 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:39380:76675f1d is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:42:14,837 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:39380:76675f1d all the dispatchers started
INFO  2025-04-03 14:42:14,846 [og #1] Hangfire.Server.ServerWatchdog           - 2 servers were removed due to timeout
INFO  2025-04-03 14:42:14,996 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:42:15,561 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:42:15,749 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:42:18,841 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:42:19,898 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:42:19,905 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1058.3837ms
INFO  2025-04-03 14:42:19,908 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:42:19,919 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4358.4019ms 302 
INFO  2025-04-03 14:42:19,944 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:42:20,016 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 73.5654ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:42:20,051 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:42:20,053 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:42:20,062 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 16.5998ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:42:20,091 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 44.115ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:42:20,246 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:42:20,251 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:42:20,257 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:42:20,263 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:42:20,330 [10   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:42:20,350 [10   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 85.0095ms
INFO  2025-04-03 14:42:20,352 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:42:20,356 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.3965ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:42:20,508 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 251.0019ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:42:22,278 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 14:42:22,634 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 356.6749ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:42:33,165 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:42:33,169 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:42:33,178 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
ERROR 2025-04-03 14:42:33,184 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Castle.MicroKernel.Handlers.HandlerException: Can't create component 'YGNT.QuestionLibrary.Courses.CoursesAppService' as it has dependencies to be satisfied.

'YGNT.QuestionLibrary.Courses.CoursesAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[YGNT.QuestionLibrary.Core.Courses.Course, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

   at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
   at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:42:33,219 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:42:33,223 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 43.1389ms
INFO  2025-04-03 14:42:33,225 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:42:33,226 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 63.1662ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:42:46,130 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:42:46,136 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:42:46,139 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.9904ms 204 
INFO  2025-04-03 14:42:46,141 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:42:46,143 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:42:46,264 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:42:46,350 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:42:46,358 [27   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:42:46,649 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:42:46,652 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 292.3539ms
INFO  2025-04-03 14:42:46,654 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:42:46,656 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 514.6759ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 14:46:33,138 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:46:33,191 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:46:33,207 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,209 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,209 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,209 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,209 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,209 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,210 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,210 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,210 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,210 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,210 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,211 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,211 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,211 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,211 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,211 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,212 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,214 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:46:33,251 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:46:33,252 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:46:33,252 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:46:33,252 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:46:33,252 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:46:33,822 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:33,832 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:34,085 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:46:34,820 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:46:34,872 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:46:34,914 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:46:34,929 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:46:35,025 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:46:35,053 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:46:35,056 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:46:35,156 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:46:35,195 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:46:35,195 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:46:35,199 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:46:35,200 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:46:35,200 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:46:35,200 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:46:35,200 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:46:35,200 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:46:35,201 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:46:35,202 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:46:36,020 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:46:36,490 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,556 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,564 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,571 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,578 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,585 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,598 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,606 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,613 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:46:36,626 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:46:36,634 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:46:36,641 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:46:36,647 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:46:37,457 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:46:37,587 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:46:37,602 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:46:37,604 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:46:37,606 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:46:37,608 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:46:37,711 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:44432:9ea32a34 successfully announced in 80.3585 ms
INFO  2025-04-03 14:46:37,717 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:44432:9ea32a34 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:46:37,735 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:44432:9ea32a34 all the dispatchers started
INFO  2025-04-03 14:46:37,888 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:46:38,569 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:46:38,746 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:46:41,833 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:46:42,836 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:46:42,841 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1003.2777ms
INFO  2025-04-03 14:46:42,843 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:46:42,852 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4284.398ms 302 
INFO  2025-04-03 14:46:42,869 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:46:42,933 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 64.7269ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:46:42,963 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:46:42,965 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:46:42,972 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.9462ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:46:42,999 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 36.9081ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:46:43,154 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:46:43,159 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:46:43,168 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:46:43,172 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:46:43,244 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:46:43,288 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 86.6594ms
INFO  2025-04-03 14:46:43,290 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:46:43,293 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 140.4155ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:46:43,452 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 283.613ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:46:45,535 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/题库/swagger.json  
INFO  2025-04-03 14:46:45,894 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 358.6197ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:46:46,129 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:46:46,135 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:46:46,139 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.7874ms 204 
INFO  2025-04-03 14:46:46,143 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:46:46,145 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:46:46,272 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:46:46,384 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:46:46,395 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:46:46,701 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:46:46,705 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 306.9891ms
INFO  2025-04-03 14:46:46,707 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:46:46,709 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 567.4213ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:46:57,372 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Courses/GetListAll  
INFO  2025-04-03 14:46:57,377 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:46:57,386 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetListAll", controller = "Courses"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.Core.Courses.Course]] GetListAll() on controller YGNT.QuestionLibrary.Courses.CoursesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:01,375 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:01,406 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 14:47:01,452 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:01,458 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application) in 4069.1202ms
INFO  2025-04-03 14:47:01,460 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Courses.CoursesAppService.GetListAll (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:01,461 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4091.286ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:39,028 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:47:39,030 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:39,033 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3374ms 204 
INFO  2025-04-03 14:47:39,036 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:47:39,038 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:39,044 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:39,047 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:47:39,052 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:47:39,121 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:39,124 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.7884ms
INFO  2025-04-03 14:47:39,125 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:47:39,127 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.3311ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:43,593 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:47:43,595 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:43,597 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0994ms 204 
INFO  2025-04-03 14:47:43,599 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:47:43,602 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:43,608 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:43,612 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:43,629 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:44,364 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:44,408 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 14:47:44,436 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:47:44,552 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:44,559 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 927.5579ms
INFO  2025-04-03 14:47:44,561 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:44,563 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 963.8017ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:44,774 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:47:44,776 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:44,777 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2222ms 204 
INFO  2025-04-03 14:47:44,779 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:47:44,781 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:44,784 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:44,787 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:47:44,795 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:47:44,857 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:44,859 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.0057ms
INFO  2025-04-03 14:47:44,861 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:47:44,863 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.3892ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:45,221 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:47:45,224 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:45,226 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7769ms 204 
INFO  2025-04-03 14:47:45,231 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:47:45,233 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:45,238 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:45,255 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:45,267 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:45,742 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:45,790 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:47:45,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:47:45,863 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:45,869 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 599.5912ms
INFO  2025-04-03 14:47:45,872 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:45,875 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 643.9327ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:50,618 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=45&idList[]=48&idList[]=59&idList[]=56&idList[]=57&idList[]=49&idList[]=47&idList[]=55&idList[]=53&idList[]=58&idList[]=60&idList[]=44&idList[]=51&idList[]=43&idList[]=54  
INFO  2025-04-03 14:47:50,620 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:50,622 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0025ms 204 
INFO  2025-04-03 14:47:50,625 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=45&idList[]=48&idList[]=59&idList[]=56&idList[]=57&idList[]=49&idList[]=47&idList[]=55&idList[]=53&idList[]=58&idList[]=60&idList[]=44&idList[]=51&idList[]=43&idList[]=54 application/json 57
INFO  2025-04-03 14:47:50,627 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:50,630 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:50,632 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:50,641 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:50,983 [6    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:51,016 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,027 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,040 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,049 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,057 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,066 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,078 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,088 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,103 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,111 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,125 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,150 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,173 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,186 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,194 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:51,245 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (37ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32), @p3='?' (DbType = Int32), @p4='?' (DbType = Int32), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32), @p9='?' (DbType = Int32), @p10='?' (DbType = Int32), @p11='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Int32), @p14='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p1;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p2;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p3;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p4;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p5;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p6;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p7;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p8;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p9;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p10;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p11;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p12;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p13;
SELECT ROW_COUNT();

DELETE FROM `Disciplines`
WHERE `Id` = @p14;
SELECT ROW_COUNT();
INFO  2025-04-03 14:47:51,476 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:51,479 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 835.4674ms
INFO  2025-04-03 14:47:51,481 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:51,484 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 858.9539ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:51,486 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:47:51,488 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:51,489 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2.8386ms 204 
INFO  2025-04-03 14:47:51,491 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:47:51,493 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:51,496 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:51,497 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:51,502 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:51,508 [39   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:51,532 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:47:51,540 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:47:51,583 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:51,585 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 81.8142ms
INFO  2025-04-03 14:47:51,587 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:51,588 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.7753ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:47:55,811 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52&idList[]=46&idList[]=50  
INFO  2025-04-03 14:47:55,814 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:55,816 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9042ms 204 
INFO  2025-04-03 14:47:55,817 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52&idList[]=46&idList[]=50 application/json 21
INFO  2025-04-03 14:47:55,819 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:47:55,821 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:47:55,823 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:55,827 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:47:55,836 [10   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:47:55,863 [10   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:55,873 [10   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:55,882 [10   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:47:55,892 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 14:47:55,898 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
ERROR 2025-04-03 14:47:55,950 [6    ] oft.EntityFrameworkCore.Database.Command - Failed executing DbCommand (48ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
ERROR 2025-04-03 14:47:56,026 [6    ] Microsoft.EntityFrameworkCore.Update     - An exception occurred in the database while saving changes for context type 'YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
ERROR 2025-04-03 14:47:56,093 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.AbpDbContext.SaveChangesAsync(CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesInDbContextAsync(DbContext dbContext)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesAsync()
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.CompleteUowAsync()
   at Abp.Domain.Uow.UnitOfWorkBase.CompleteAsync()
   at Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:47:56,104 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:47:56,108 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 277.999ms
INFO  2025-04-03 14:47:56,109 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:47:56,112 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 293.7334ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:48:04,051 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52  
INFO  2025-04-03 14:48:04,054 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:04,056 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.43ms 204 
INFO  2025-04-03 14:48:04,058 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52 application/json 15
INFO  2025-04-03 14:48:04,059 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:04,061 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:04,063 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:04,067 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:04,075 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:04,101 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
ERROR 2025-04-03 14:48:04,114 [6    ] oft.EntityFrameworkCore.Database.Command - Failed executing DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
ERROR 2025-04-03 14:48:04,124 [6    ] Microsoft.EntityFrameworkCore.Update     - An exception occurred in the database while saving changes for context type 'YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
ERROR 2025-04-03 14:48:04,180 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.AbpDbContext.SaveChangesAsync(CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesInDbContextAsync(DbContext dbContext)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesAsync()
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.CompleteUowAsync()
   at Abp.Domain.Uow.UnitOfWorkBase.CompleteAsync()
   at Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:48:04,186 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:04,189 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 119.8522ms
INFO  2025-04-03 14:48:04,192 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:04,194 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 136.1475ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:48:04,771 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:48:04,772 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:04,774 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8402ms 204 
INFO  2025-04-03 14:48:04,776 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:48:04,777 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:04,779 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:04,781 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:04,785 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:48:04,851 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:04,854 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.119ms
INFO  2025-04-03 14:48:04,856 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:04,858 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 81.901ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:11,131 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=50  
INFO  2025-04-03 14:48:11,133 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:11,134 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6764ms 204 
INFO  2025-04-03 14:48:11,135 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=50 application/json 15
INFO  2025-04-03 14:48:11,137 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:11,139 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:11,141 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:11,145 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:11,151 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:11,181 [12   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:48:11,189 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 14:48:11,236 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:11,238 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 90.5234ms
INFO  2025-04-03 14:48:11,240 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:11,243 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 106.482ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:11,244 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:48:11,246 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:11,248 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2.8408ms 204 
INFO  2025-04-03 14:48:11,252 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:48:11,253 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:11,257 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:11,261 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:11,265 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:11,271 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:11,300 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:48:11,309 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:48:11,349 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:11,351 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 83.5315ms
INFO  2025-04-03 14:48:11,353 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:11,354 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 102.7709ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:24,773 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:48:24,774 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:24,776 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6688ms 204 
INFO  2025-04-03 14:48:24,778 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:48:24,779 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:24,782 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:24,786 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:24,793 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:48:24,873 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:24,875 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.7005ms
INFO  2025-04-03 14:48:24,877 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:24,879 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.1183ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:29,297 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=46  
INFO  2025-04-03 14:48:29,300 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:29,303 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3556ms 204 
INFO  2025-04-03 14:48:29,312 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=46 application/json 15
INFO  2025-04-03 14:48:29,314 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:29,317 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:29,320 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:29,330 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:29,336 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:29,364 [12   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 14:48:29,373 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 14:48:29,422 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:29,425 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 92.9971ms
INFO  2025-04-03 14:48:29,427 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:29,429 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 118.3115ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:29,431 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:48:29,433 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:29,435 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6663ms 204 
INFO  2025-04-03 14:48:29,436 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:48:29,438 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:29,441 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:29,444 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:29,449 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:29,455 [6    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:29,480 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:48:29,487 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:48:29,529 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:29,531 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 79.7781ms
INFO  2025-04-03 14:48:29,533 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:29,534 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.8823ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:33,349 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52  
INFO  2025-04-03 14:48:33,352 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:33,356 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9282ms 204 
INFO  2025-04-03 14:48:33,360 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Discipline/DeleteList?idList[]=52 application/json 15
INFO  2025-04-03 14:48:33,364 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:33,367 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:33,369 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:33,374 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DeleteList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DeleteListAsync(System.Collections.Generic.List`1[System.Int32]) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:48:33,388 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:48:33,413 [9    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`Id` = @__p_0)
LIMIT 1
ERROR 2025-04-03 14:48:33,422 [6    ] oft.EntityFrameworkCore.Database.Command - Failed executing DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
DELETE FROM `Disciplines`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
ERROR 2025-04-03 14:48:33,433 [6    ] Microsoft.EntityFrameworkCore.Update     - An exception occurred in the database while saving changes for context type 'YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
ERROR 2025-04-03 14:48:33,478 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
 ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot delete or update a parent row: a foreign key constraint fails (`tl_exam`.`knowledgepoints`, CONSTRAINT `FK_KnowledgePoints_KnowledgePoints_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `knowledgepoints` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT)
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 806
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 51
   at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
   at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 257
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.AbpDbContext.SaveChangesAsync(CancellationToken cancellationToken)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesInDbContextAsync(DbContext dbContext)
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesAsync()
   at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.CompleteUowAsync()
   at Abp.Domain.Uow.UnitOfWorkBase.CompleteAsync()
   at Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:48:33,485 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:33,488 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application) in 108.7309ms
INFO  2025-04-03 14:48:33,489 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DeleteListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:33,492 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 133.4435ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:48:44,778 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:48:44,780 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:44,782 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7555ms 204 
INFO  2025-04-03 14:48:44,784 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:48:44,788 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:44,792 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:44,793 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:44,798 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:48:44,862 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:44,865 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.3322ms
INFO  2025-04-03 14:48:44,866 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:48:44,868 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.6486ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:48:58,923 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync  
INFO  2025-04-03 14:48:58,925 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:58,927 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.598ms 204 
INFO  2025-04-03 14:48:58,929 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync application/json 2
INFO  2025-04-03 14:48:58,933 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:48:58,937 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:48:58,962 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:58,970 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 14:48:59,099 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Disciplines\DisciplineAppService.cs:line 205
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:48:59,102 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:48:59,104 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 131.6958ms
INFO  2025-04-03 14:48:59,107 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:48:59,109 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 180.4048ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:49:04,777 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:49:04,779 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:04,780 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7009ms 204 
INFO  2025-04-03 14:49:04,782 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:49:04,784 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:04,787 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:04,789 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:04,793 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:49:04,855 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:04,856 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.3325ms
INFO  2025-04-03 14:49:04,858 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:04,860 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.6616ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:49:24,775 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:49:24,776 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:24,778 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8359ms 204 
INFO  2025-04-03 14:49:24,782 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:49:24,785 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:24,787 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:24,789 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:24,793 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:49:24,874 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync  
INFO  2025-04-03 14:49:25,147 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:25,148 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 274.4951ms 204 
INFO  2025-04-03 14:49:25,151 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync application/json 2
INFO  2025-04-03 14:49:25,152 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:25,154 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:25,156 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:25,159 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:49:25,201 [42   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:25,214 [42   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 407.9235ms
INFO  2025-04-03 14:49:25,215 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:25,217 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 435.0906ms 200 application/json; charset=utf-8
WARN  2025-04-03 14:49:25,306 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Disciplines\DisciplineAppService.cs:line 205
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 14:49:25,309 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:25,311 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 149.5395ms
INFO  2025-04-03 14:49:25,312 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:25,314 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 163.8665ms 500 application/json; charset=utf-8
INFO  2025-04-03 14:49:44,775 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:49:44,779 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:44,781 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.3743ms 204 
INFO  2025-04-03 14:49:44,786 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:49:44,789 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:44,792 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:44,794 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:44,801 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:49:44,871 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:49:44,874 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:44,876 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.8933ms 204 
INFO  2025-04-03 14:49:44,879 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Grades/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:49:44,881 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:44,887 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:44,889 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:44,894 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Grades"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Grades.Dto.GradeDto]] GetListAsync(YGNT.QuestionLibrary.Grades.Dto.SearchGradeInputDto) on controller YGNT.QuestionLibrary.Grades.GradesAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:49:44,901 [10   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:49:44,930 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:44,932 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 129.0702ms
INFO  2025-04-03 14:49:44,935 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:49:44,937 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 154.7847ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:49:44,995 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Grades` AS `g`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `e`.`IsActive`
INFO  2025-04-03 14:49:45,002 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`EducationCategoryId`, `t`.`Name`, `t`.`SourceId`, `e0`.`Name`
FROM (
    SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`, `e`.`Id` AS `Id0`
    FROM `Grades` AS `g`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `e`.`IsActive`
    ORDER BY `g`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `EducationCategories` AS `e0` ON `t`.`EducationCategoryId` = `e0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:49:45,045 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:45,048 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 150.9268ms
INFO  2025-04-03 14:49:45,050 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Grades.GradesAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:45,054 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 174.074ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:49:45,879 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:49:45,881 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:45,883 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.254ms 204 
INFO  2025-04-03 14:49:45,886 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:49:45,889 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:49:45,894 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:49:45,899 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:45,915 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:49:45,927 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:49:45,950 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:49:45,959 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:49:45,994 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:49:45,997 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 79.2594ms
INFO  2025-04-03 14:49:45,999 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:49:46,006 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.1555ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:50:03,708 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync  
INFO  2025-04-03 14:50:03,709 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:50:03,711 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1128ms 204 
INFO  2025-04-03 14:50:03,713 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync application/json 2
INFO  2025-04-03 14:50:03,714 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:50:03,717 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:50:03,719 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:50:03,723 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:50:07,979 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:50:07,981 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:50:08,008 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7881ms 204 
INFO  2025-04-03 14:50:08,010 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:50:08,012 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:50:09,388 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
DEBUG 2025-04-03 14:54:14,752 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 14:54:14,802 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 14:54:14,826 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,827 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,827 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,827 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,828 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,828 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,828 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,828 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,828 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,829 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,829 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,829 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,829 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,830 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,830 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,830 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,830 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,830 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,831 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,831 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,831 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,831 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:14,833 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 14:54:14,879 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:54:14,879 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:54:14,879 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:54:14,879 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:54:14,879 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 14:54:15,332 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:15,341 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:15,613 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 14:54:16,316 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 14:54:16,369 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 14:54:16,412 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 14:54:16,428 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 14:54:16,528 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 14:54:16,558 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 14:54:16,562 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 14:54:16,671 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 14:54:16,712 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 14:54:16,712 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 14:54:16,715 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 14:54:16,716 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 14:54:16,716 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 14:54:16,716 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 14:54:16,716 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 14:54:16,716 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 14:54:16,717 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 14:54:16,718 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 14:54:17,556 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:54:18,010 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,060 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,067 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,074 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,081 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,089 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,102 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,109 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,116 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 14:54:18,131 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:54:18,138 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:54:18,145 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:54:18,152 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 14:54:20,183 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 14:54:20,669 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 14:54:20,687 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 14:54:20,689 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 14:54:20,691 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 14:54:20,692 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 14:54:20,906 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 14:54:20,936 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:41432:632761f6 successfully announced in 217.7175 ms
INFO  2025-04-03 14:54:20,943 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:41432:632761f6 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 14:54:20,962 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:41432:632761f6 all the dispatchers started
INFO  2025-04-03 14:54:21,187 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 14:54:21,689 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 14:54:21,876 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:54:25,210 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:54:26,267 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 14:54:26,273 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1057.8951ms
INFO  2025-04-03 14:54:26,275 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:54:26,283 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4608.6318ms 302 
INFO  2025-04-03 14:54:26,299 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 14:54:26,369 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 69.2288ms 200 text/html;charset=utf-8
INFO  2025-04-03 14:54:26,404 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 14:54:26,407 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 14:54:26,413 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.8393ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 14:54:26,447 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 45.5928ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 14:54:26,606 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 14:54:26,611 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:54:26,617 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 14:54:26,622 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 14:54:26,691 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:54:26,712 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 88.2033ms
INFO  2025-04-03 14:54:26,715 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 14:54:26,722 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 112.8774ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:54:26,892 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 275.1632ms 200 application/json;charset=utf-8
INFO  2025-04-03 14:54:46,141 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:54:46,147 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:46,151 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.6081ms 204 
INFO  2025-04-03 14:54:46,153 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:54:46,155 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:46,272 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:54:46,357 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:54:46,366 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:54:46,672 [29   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:54:46,676 [29   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 307.5373ms
INFO  2025-04-03 14:54:46,678 [29   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:54:46,681 [29   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 528.3294ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:54:51,874 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync  
INFO  2025-04-03 14:54:51,876 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:51,878 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8774ms 204 
INFO  2025-04-03 14:54:51,880 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Discipline/DataSync application/json 2
INFO  2025-04-03 14:54:51,882 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:51,890 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:54:51,892 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:54:51,903 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:54:53,362 [6    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:54:53,398 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,420 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,432 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,443 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,450 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,457 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,464 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,471 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,477 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,486 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,493 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,500 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,508 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,520 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,531 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,538 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,548 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,558 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,564 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,570 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,577 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,585 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,592 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,599 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,606 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,613 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,620 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,627 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,634 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,640 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,647 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,654 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,661 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,667 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,674 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,684 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,693 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,701 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,709 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,715 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,721 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,728 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,735 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,743 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,750 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,757 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,765 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,772 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,779 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,786 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,793 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,799 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,809 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,819 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,826 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,834 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,842 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,848 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,855 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,861 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,868 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,874 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,883 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,891 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,900 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,907 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,914 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,920 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,931 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,938 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,946 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,954 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,963 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,970 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,978 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:53,985 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:53,993 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,002 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,010 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,018 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,026 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,035 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,043 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,050 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,059 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,068 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,075 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,084 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,092 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,100 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,107 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,114 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,121 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,129 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,138 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,148 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,159 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,168 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,177 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,187 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,195 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,203 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,211 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,220 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,228 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,235 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,244 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,251 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,260 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,268 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,277 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,285 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,293 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,302 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,310 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,318 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,326 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,335 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,346 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,357 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,369 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,382 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,397 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,413 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,431 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,451 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,486 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,514 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,546 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (28ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,574 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,593 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,604 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,613 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,621 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,629 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,638 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,647 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,654 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,669 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,680 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,689 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,697 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,707 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,719 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,726 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,734 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,763 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,772 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,782 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,789 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,796 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,812 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,822 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,830 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,838 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,846 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,852 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,861 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,869 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,876 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,884 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,897 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,904 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,911 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,920 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,927 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,935 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,945 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,952 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,960 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,967 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,975 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,982 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:54,990 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:54,998 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,008 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,016 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,027 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,035 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,043 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,050 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,057 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,065 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,074 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,081 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,089 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,098 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,105 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,112 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,120 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,127 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,136 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,144 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,170 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (23ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,179 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,187 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,195 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,203 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,211 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,221 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,229 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,237 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,245 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,253 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,262 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,271 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,280 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,288 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,296 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,305 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,313 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,321 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,329 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,339 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,347 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,355 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,363 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,372 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,380 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,390 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,398 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,407 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,414 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,422 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,432 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,442 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,450 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,459 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,466 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,473 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,480 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,488 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,496 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,503 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,511 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,520 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,530 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,539 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,546 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,555 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,562 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,570 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,577 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,587 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,595 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,602 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,610 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,618 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,627 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,634 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,642 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,649 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,656 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,664 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,671 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,680 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,688 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,696 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,704 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,711 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,718 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,726 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,733 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,742 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,752 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,765 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,773 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,781 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,789 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,796 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,812 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,820 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,829 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,837 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,844 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,851 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,860 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,868 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,876 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,887 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,895 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,905 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,915 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,924 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,935 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,943 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,952 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,959 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,970 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:55,984 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:55,996 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,005 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,014 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,021 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,031 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,040 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,050 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,059 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,068 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,076 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,084 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,092 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,102 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,110 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,118 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,128 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,138 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,146 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,153 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,162 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,170 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,179 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,188 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,196 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,204 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,212 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,219 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,228 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,236 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,245 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,254 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,267 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,278 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,285 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,294 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,306 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,318 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,327 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,335 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,344 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,351 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,361 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,369 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,378 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,387 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,395 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,403 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,411 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,425 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,444 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,453 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,460 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,501 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,508 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,516 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,524 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,532 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,540 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,547 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,554 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,562 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,570 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,580 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,593 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,608 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Courses` AS `c`
    WHERE `c`.`SourceId` = @__item_Id_0)
INFO  2025-04-03 14:54:56,622 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (Size = 4000), @p3='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Courses` (`CreationTime`, `CreatorUserId`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3);
SELECT `Id`
FROM `Courses`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:56,971 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 14:54:57,080 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 14:54:57,160 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,212 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,222 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,231 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,240 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,248 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,256 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,267 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,275 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,283 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,291 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,301 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,309 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,318 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,326 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,335 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,348 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,357 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,365 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,373 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,381 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,390 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,403 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,411 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,425 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,439 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,447 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,455 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,462 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,471 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,479 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,488 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,495 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,504 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,512 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,524 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,532 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,540 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,548 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,556 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,563 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,573 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,581 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,590 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,599 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,611 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,619 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,628 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,638 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,648 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,656 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,666 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,675 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,686 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,694 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,704 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,716 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,726 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,736 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,748 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,757 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,768 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,777 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,787 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,795 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,813 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,823 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,832 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,841 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,850 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,861 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,869 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,878 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,886 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,894 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,902 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,913 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,922 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,932 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,940 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,948 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,956 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,965 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,976 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:57,984 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:57,992 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:58,000 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__course_Id_0='?' (DbType = Int32), @__grade_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Disciplines` AS `d`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND ((`d`.`CourseId` = @__course_Id_0) AND (`d`.`GradeId` = @__grade_Id_1)))
INFO  2025-04-03 14:54:58,008 [29   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Disciplines` (`CourseId`, `CreationTime`, `CreatorUserId`, `GradeId`, `Name`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Disciplines`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 14:54:58,071 [29   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:54:58,073 [29   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 6168.4543ms
INFO  2025-04-03 14:54:58,075 [29   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:54:58,078 [29   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6196.9975ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:54:58,082 [29   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:54:58,085 [29   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:58,088 [29   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6534ms 204 
INFO  2025-04-03 14:54:58,091 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:54:58,093 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:54:58,100 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:54:58,103 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:54:58,124 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:54:58,170 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:54:58,208 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:54:58,235 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:54:58,340 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:54:58,347 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 220.5738ms
INFO  2025-04-03 14:54:58,348 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:54:58,350 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 260.1195ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:05,123 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:55:05,125 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:05,129 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2177ms 204 
INFO  2025-04-03 14:55:05,132 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:55:05,133 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:05,139 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:05,141 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:05,146 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:55:05,209 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:05,212 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.7188ms
INFO  2025-04-03 14:55:05,213 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:05,215 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.6975ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:24,780 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:55:24,787 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:24,792 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 14.6998ms 204 
INFO  2025-04-03 14:55:24,796 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:55:24,800 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:24,803 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:24,805 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:24,810 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:55:25,045 [27   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:25,048 [27   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 235.492ms
INFO  2025-04-03 14:55:25,050 [27   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:25,053 [27   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 258.5217ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:28,271 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 14:55:28,273 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:28,275 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:55:28,276 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6666ms 204 
INFO  2025-04-03 14:55:28,277 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 14:55:28,282 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:28,284 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:28,285 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.453ms 204 
INFO  2025-04-03 14:55:28,289 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:55:28,292 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:28,295 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:28,309 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:28,315 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:28,318 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:28,323 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:28,330 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:28,334 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:28,362 [27   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 14:55:28,373 [27   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 14:55:28,423 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:28,427 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 102.8443ms
INFO  2025-04-03 14:55:28,432 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:28,433 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 155.8187ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:28,974 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:29,010 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 14:55:29,026 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 14:55:29,070 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:29,076 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 743.5473ms
INFO  2025-04-03 14:55:29,077 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:29,079 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 790.2209ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:44,771 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:55:44,773 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:44,774 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0818ms 204 
INFO  2025-04-03 14:55:44,779 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:55:44,780 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:44,782 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:44,784 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:44,789 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:55:44,861 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:44,863 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.2076ms
INFO  2025-04-03 14:55:44,865 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:55:44,866 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.9525ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:54,621 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 14:55:54,623 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:54,625 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5811ms 204 
INFO  2025-04-03 14:55:54,629 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 14:55:54,631 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:54,635 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:54,637 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:54,646 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:55,298 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:55,327 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 14:55:55,387 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:55,392 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 744.3978ms
INFO  2025-04-03 14:55:55,393 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:55,395 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 767.8933ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:55,820 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 14:55:55,823 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:55,826 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.551ms 204 
INFO  2025-04-03 14:55:55,829 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:55:55,831 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:55,836 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:55,838 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:55,853 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:55,861 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:55,890 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 14:55:55,900 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 14:55:55,938 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:55,940 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 85.9772ms
INFO  2025-04-03 14:55:55,942 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:55,944 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 114.807ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:56,519 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96  
INFO  2025-04-03 14:55:56,523 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:56,525 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5243ms 204 
INFO  2025-04-03 14:55:56,527 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96 application/json 
INFO  2025-04-03 14:55:56,529 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:56,532 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:56,533 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:56,543 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "DisciplineQuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.DisciplineQuestionTypeDto]] GetListAsync(Int32) on controller YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:56,830 [10   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:56,864 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__disciplineId_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`DisciplineId`, `d`.`Name`, `d`.`QuestionTypeId`, `d0`.`Name`, `q`.`Name`, `q`.`QuestionCategory`
FROM `DisciplineQuestionTypes` AS `d`
INNER JOIN `QuestionTypes` AS `q` ON `d`.`QuestionTypeId` = `q`.`Id`
INNER JOIN `Disciplines` AS `d0` ON `d`.`DisciplineId` = `d0`.`Id`
WHERE `d`.`DisciplineId` IN (
    SELECT `d1`.`Id`
    FROM `Disciplines` AS `d1`
)
 AND (`d`.`DisciplineId` = @__disciplineId_0)
ORDER BY `q`.`Sort`, `d`.`Name`
INFO  2025-04-03 14:55:56,902 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:56,907 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 361.6749ms
INFO  2025-04-03 14:55:56,909 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:56,912 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 384.2455ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:55:57,531 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 14:55:57,538 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:55:57,541 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:55:57,544 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:57,549 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 14:55:57,556 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 14:55:57,577 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 14:55:57,584 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 14:55:57,620 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:55:57,623 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 71.7504ms
INFO  2025-04-03 14:55:57,625 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 14:55:57,626 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.1518ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:56:05,130 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:56:05,132 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:05,135 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.2213ms 204 
INFO  2025-04-03 14:56:05,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:56:05,141 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:05,147 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:56:05,150 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:05,155 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:56:05,215 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:56:05,217 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.0675ms
INFO  2025-04-03 14:56:05,219 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:05,220 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.1278ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:56:25,133 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:56:25,134 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:25,136 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6684ms 204 
INFO  2025-04-03 14:56:25,140 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:56:25,141 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:25,143 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:56:25,145 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:25,149 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:56:25,218 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:56:25,220 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.4047ms
INFO  2025-04-03 14:56:25,222 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:25,224 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.0533ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:56:45,131 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:56:45,133 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:45,134 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1784ms 204 
INFO  2025-04-03 14:56:45,136 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:56:45,138 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:56:45,140 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:56:45,142 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:45,146 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:56:45,222 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:56:45,224 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.2265ms
INFO  2025-04-03 14:56:45,226 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:56:45,228 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.0856ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:57:46,128 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:57:46,130 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:57:46,133 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8645ms 204 
INFO  2025-04-03 14:57:46,139 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:57:46,141 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:57:46,143 [34   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:57:46,145 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:57:46,149 [34   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:57:46,225 [32   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:57:46,228 [32   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.7994ms
INFO  2025-04-03 14:57:46,231 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:57:46,234 [32   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 94.2412ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:58:46,131 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:58:46,134 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:58:46,169 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6214ms 204 
INFO  2025-04-03 14:58:46,175 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:58:46,201 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:58:46,203 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:58:46,205 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:58:46,211 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:58:46,287 [32   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:58:46,289 [32   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.2061ms
INFO  2025-04-03 14:58:46,291 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:58:46,292 [32   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 119.1027ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:59:07,216 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:59:07,218 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:07,220 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.539ms 204 
INFO  2025-04-03 14:59:07,222 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:59:07,224 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:07,227 [33   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:59:07,228 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:07,232 [33   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:59:07,296 [32   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:59:07,298 [32   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 64.3532ms
INFO  2025-04-03 14:59:07,301 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:07,303 [32   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.9213ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:59:21,211 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 14:59:24,774 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:59:24,776 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:24,777 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5223ms 204 
INFO  2025-04-03 14:59:24,782 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:59:24,784 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:24,785 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:59:24,787 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:24,792 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:59:24,880 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:59:24,882 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 88.8487ms
INFO  2025-04-03 14:59:24,883 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:24,885 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 102.7608ms 200 application/json; charset=utf-8
INFO  2025-04-03 14:59:44,789 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 14:59:44,798 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:44,804 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 14.4679ms 204 
INFO  2025-04-03 14:59:44,809 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 14:59:44,811 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 14:59:44,813 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 14:59:44,814 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:44,818 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 14:59:44,889 [42   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 14:59:44,891 [42   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.4411ms
INFO  2025-04-03 14:59:44,892 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 14:59:44,894 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.585ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:00:05,121 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:00:05,124 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:05,125 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3755ms 204 
INFO  2025-04-03 15:00:05,127 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:00:05,128 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:05,130 [33   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:00:05,132 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:05,136 [33   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:00:05,210 [44   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:00:05,213 [44   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.6678ms
INFO  2025-04-03 15:00:05,215 [44   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:05,217 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.9016ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:00:25,134 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:00:25,136 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:25,140 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8616ms 204 
INFO  2025-04-03 15:00:25,144 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:00:25,146 [36   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:25,147 [36   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:00:25,149 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:25,152 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:00:25,224 [44   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:00:25,226 [44   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.4974ms
INFO  2025-04-03 15:00:25,227 [44   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:25,228 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.8343ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:00:45,129 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:00:45,134 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:45,139 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.1167ms 204 
INFO  2025-04-03 15:00:45,145 [55   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:00:45,146 [55   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:00:45,148 [55   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:00:45,149 [55   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:45,154 [55   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:00:45,222 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:00:45,224 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.0364ms
INFO  2025-04-03 15:00:45,227 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:00:45,228 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.495ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:01:46,133 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:01:46,135 [51   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:01:46,138 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2381ms 204 
INFO  2025-04-03 15:01:46,140 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:01:46,142 [51   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:01:46,144 [51   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:01:46,146 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:01:46,149 [51   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:01:46,216 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:01:46,220 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.8867ms
INFO  2025-04-03 15:01:46,223 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:01:46,225 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.1117ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:02:46,129 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:02:46,131 [51   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:02:46,139 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8038ms 204 
INFO  2025-04-03 15:02:46,141 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:02:46,142 [51   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:02:46,144 [51   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:02:46,145 [51   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:02:46,149 [51   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:02:46,220 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:02:46,221 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.3071ms
INFO  2025-04-03 15:02:46,223 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:02:46,224 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.2096ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:03:46,127 [60   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:03:46,129 [60   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:03:46,130 [60   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6334ms 204 
INFO  2025-04-03 15:03:46,131 [60   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:03:46,133 [60   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:03:46,135 [60   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:03:46,137 [60   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:03:46,141 [60   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:03:46,204 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:03:46,206 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.8945ms
INFO  2025-04-03 15:03:46,208 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:03:46,209 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.473ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:04:46,122 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:04:46,124 [51   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:04:46,126 [51   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2175ms 204 
INFO  2025-04-03 15:04:46,130 [59   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:04:46,132 [59   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:04:46,134 [59   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:04:46,135 [59   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:04:46,139 [59   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:04:46,210 [52   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:04:46,216 [52   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.8224ms
INFO  2025-04-03 15:04:46,221 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:04:46,223 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.6933ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:05:46,123 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:05:46,126 [64   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:05:46,129 [64   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3189ms 204 
INFO  2025-04-03 15:05:46,136 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:05:46,138 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:05:46,141 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:05:46,143 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:05:46,147 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:05:46,725 [65   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:05:46,726 [65   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 577.517ms
INFO  2025-04-03 15:05:46,728 [65   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:05:46,729 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 594.745ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:06:46,129 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:06:46,131 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:06:46,133 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4058ms 204 
INFO  2025-04-03 15:06:46,136 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:06:46,138 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:06:46,139 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:06:46,141 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:06:46,146 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:06:47,345 [65   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:06:47,348 [65   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1199.3893ms
INFO  2025-04-03 15:06:47,351 [65   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:06:47,353 [65   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1217.1908ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:07:05,134 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:07:05,138 [70   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:05,140 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.1079ms 204 
INFO  2025-04-03 15:07:05,145 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:07:05,147 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:05,149 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:07:05,151 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:05,155 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:07:06,136 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:07:06,138 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 981.8136ms
INFO  2025-04-03 15:07:06,140 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:06,141 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 996.9199ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:07:25,132 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:07:25,135 [70   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:25,136 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.816ms 204 
INFO  2025-04-03 15:07:25,138 [71   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:07:25,140 [71   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:25,142 [71   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:07:25,144 [71   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:25,149 [71   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:07:26,380 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:07:26,382 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1231.1796ms
INFO  2025-04-03 15:07:26,383 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:26,385 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1246.7847ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:07:45,127 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:07:45,130 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:45,131 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9916ms 204 
INFO  2025-04-03 15:07:45,136 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:07:45,137 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:07:45,140 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:07:45,142 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:45,147 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:07:46,356 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:07:46,359 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1209.6201ms
INFO  2025-04-03 15:07:46,361 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:07:46,363 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1227.3288ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:08:05,124 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:08:05,128 [70   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:08:05,131 [70   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.808ms 204 
INFO  2025-04-03 15:08:05,137 [69   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:08:05,138 [69   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:08:05,140 [69   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:08:05,141 [69   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:08:05,146 [69   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:08:06,375 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:08:06,378 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1228.9385ms
INFO  2025-04-03 15:08:06,379 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:08:06,381 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1244.7786ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:08:46,132 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:08:46,134 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:08:46,136 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2195ms 204 
INFO  2025-04-03 15:08:46,137 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:08:46,138 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:08:46,140 [66   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:08:46,142 [66   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:08:46,147 [66   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:08:47,681 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:08:47,684 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1534.7911ms
INFO  2025-04-03 15:08:47,686 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:08:47,688 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1550.6864ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:09:46,136 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:09:46,139 [66   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:09:46,180 [66   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9559ms 204 
INFO  2025-04-03 15:09:46,187 [77   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:09:46,189 [77   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:09:46,191 [77   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:09:46,193 [77   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:09:46,197 [77   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:09:46,259 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:09:46,262 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.6671ms
INFO  2025-04-03 15:09:46,263 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:09:46,265 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.2154ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:10:46,128 [79   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:10:46,131 [79   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:10:46,134 [79   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5663ms 204 
INFO  2025-04-03 15:10:46,138 [82   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:10:46,141 [82   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:10:46,143 [82   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:10:46,145 [82   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:10:46,149 [82   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:10:46,216 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:10:46,222 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.3095ms
INFO  2025-04-03 15:10:46,227 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:10:46,231 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.8737ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:11:46,130 [83   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:11:46,132 [83   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:11:46,136 [83   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9767ms 204 
INFO  2025-04-03 15:11:46,143 [81   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:11:46,145 [81   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:11:46,147 [81   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:11:46,149 [81   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:11:46,152 [81   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:11:46,210 [68   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:11:46,212 [68   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 58.0015ms
INFO  2025-04-03 15:11:46,213 [68   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:11:46,215 [68   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 73.5893ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:12:46,129 [83   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:12:46,130 [83   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:12:46,134 [83   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4662ms 204 
INFO  2025-04-03 15:12:46,137 [81   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:12:46,140 [81   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:12:46,142 [81   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:12:46,143 [81   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:12:46,147 [81   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:12:46,255 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:12:46,257 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 108.5447ms
INFO  2025-04-03 15:12:46,258 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:12:46,260 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 122.7015ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:13:46,130 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:13:46,132 [86   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:13:46,137 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2528ms 204 
INFO  2025-04-03 15:13:46,141 [86   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:13:46,143 [86   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:13:46,144 [86   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:13:46,146 [86   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:13:46,149 [86   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:13:46,561 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:13:46,568 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 412.4153ms
INFO  2025-04-03 15:13:46,576 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:13:46,581 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 436.9203ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:14:46,141 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:14:46,144 [90   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:14:46,147 [90   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.5549ms 204 
INFO  2025-04-03 15:14:46,183 [92   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:14:46,184 [92   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:14:46,186 [92   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:14:46,189 [92   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:14:46,196 [92   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:14:46,257 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:14:46,259 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.9318ms
INFO  2025-04-03 15:14:46,261 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:14:46,263 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.1327ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:15:46,123 [94   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:15:46,125 [94   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:15:46,127 [94   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2928ms 204 
INFO  2025-04-03 15:15:46,132 [93   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:15:46,133 [93   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:15:46,135 [93   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:15:46,209 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:15:46,213 [85   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:15:46,282 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:15:46,283 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.4324ms
INFO  2025-04-03 15:15:46,285 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:15:46,288 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 154.75ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:16:46,133 [94   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:16:46,137 [94   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:16:46,140 [94   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5693ms 204 
INFO  2025-04-03 15:16:46,142 [100  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:16:46,143 [100  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:16:46,145 [100  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:16:46,146 [100  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:16:46,151 [100  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:16:46,387 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:16:46,389 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 236.6894ms
INFO  2025-04-03 15:16:46,391 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:16:46,393 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 250.68ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:17:46,129 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:17:46,131 [98   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:17:46,135 [98   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1773ms 204 
INFO  2025-04-03 15:17:46,140 [101  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:17:46,142 [101  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:17:46,144 [101  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:17:46,145 [101  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:17:46,150 [101  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:17:47,127 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:17:47,129 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 977.5409ms
INFO  2025-04-03 15:17:47,131 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:17:47,132 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 992.4909ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:18:46,133 [102  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:18:46,134 [102  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:18:46,136 [102  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6336ms 204 
INFO  2025-04-03 15:18:46,137 [103  ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:18:46,139 [103  ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:18:46,140 [103  ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:18:46,142 [103  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:18:46,145 [103  ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:18:46,321 [85   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:18:46,323 [85   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 176.0028ms
INFO  2025-04-03 15:18:46,325 [85   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:18:46,326 [85   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 188.8491ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 15:42:29,645 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 15:42:29,703 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 15:42:29,721 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,722 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,722 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,722 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,722 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,723 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,723 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,723 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,723 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,724 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,725 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,726 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:29,727 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 15:42:29,762 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 15:42:29,763 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 15:42:29,763 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 15:42:29,763 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 15:42:29,763 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 15:42:30,214 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:30,223 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:30,504 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 15:42:31,367 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 15:42:31,446 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 15:42:31,497 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 15:42:31,514 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 15:42:31,636 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 15:42:31,664 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 15:42:31,668 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 15:42:31,773 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 15:42:31,815 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 15:42:31,815 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 15:42:31,819 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 15:42:31,819 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 15:42:31,819 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 15:42:31,820 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 15:42:31,821 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 15:42:31,821 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 15:42:31,821 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 15:42:31,821 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 15:42:32,680 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:42:33,178 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,231 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,240 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,246 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,251 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,257 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,283 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,289 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,297 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 15:42:33,310 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 15:42:33,316 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 15:42:33,321 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 15:42:33,326 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 15:42:34,340 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 15:42:34,479 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 15:42:34,498 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 15:42:34,500 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 15:42:34,502 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 15:42:34,503 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 15:42:34,586 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:34496:a48255bf successfully announced in 54.6119 ms
INFO  2025-04-03 15:42:34,594 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:34496:a48255bf is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 15:42:34,639 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:34496:a48255bf all the dispatchers started
INFO  2025-04-03 15:42:34,704 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 15:42:34,912 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 15:42:35,519 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 15:42:35,703 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 15:42:38,739 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 15:42:39,810 [15   ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 15:42:39,816 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1072.0388ms
INFO  2025-04-03 15:42:39,819 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 15:42:39,827 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4310.9572ms 302 
INFO  2025-04-03 15:42:39,844 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 15:42:39,908 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 63.3045ms 200 text/html;charset=utf-8
INFO  2025-04-03 15:42:39,946 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 15:42:39,951 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3784ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 15:42:39,960 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 15:42:39,990 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 30.9043ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 15:42:40,154 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 15:42:40,159 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 15:42:40,166 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 15:42:40,169 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 15:42:40,221 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:42:40,237 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 66.0836ms
INFO  2025-04-03 15:42:40,239 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 15:42:40,241 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.0498ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:42:40,394 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 229.2854ms 200 application/json;charset=utf-8
INFO  2025-04-03 15:42:43,079 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:42:43,088 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:42:43,091 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 19.9101ms 204 
INFO  2025-04-03 15:42:43,093 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:42:43,096 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:42:43,276 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:42:43,358 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:42:43,366 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:42:43,720 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:42:43,723 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 355.1396ms
INFO  2025-04-03 15:42:43,725 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:42:43,727 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 633.6991ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:42:45,135 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:42:45,138 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:42:45,145 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:42:45,148 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:42:45,155 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:42:45,238 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:42:45,248 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 85.5044ms
INFO  2025-04-03 15:42:45,252 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:42:45,256 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 120.4761ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:00,704 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=16  
INFO  2025-04-03 15:43:00,707 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:00,709 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.107ms 204 
INFO  2025-04-03 15:43:00,711 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=16 application/json 9
INFO  2025-04-03 15:43:00,713 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:00,719 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:00,722 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:00,738 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int32) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:02,982 [39   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:03,022 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Chapters` AS `c`
    WHERE (@__ef_filter__p_0 OR NOT (`c`.`IsDeleted`)) AND (`c`.`TextbookId` = @__id_0))
WARN  2025-04-03 15:43:03,155 [39   ] Mvc.ExceptionHandling.AbpExceptionFilter - 教材已被使用,禁止删除
Abp.UI.UserFriendlyException: 教材已被使用,禁止删除
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync(Int32 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 146
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:43:03,163 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:03,169 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 2427.1438ms
INFO  2025-04-03 15:43:03,171 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:03,174 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2462.2792ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:43:04,779 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:43:04,782 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:04,785 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.5735ms 204 
INFO  2025-04-03 15:43:04,788 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:43:04,789 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:04,792 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:04,794 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:04,800 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:43:04,875 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:04,877 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.4777ms
INFO  2025-04-03 15:43:04,879 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:04,881 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 94.0972ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:10,113 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=&CognitiveAbilityId=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:43:10,117 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:10,121 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.7451ms 204 
INFO  2025-04-03 15:43:10,124 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=&CognitiveAbilityId=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:43:10,129 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:10,151 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:10,158 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:10,172 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:10,931 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:11,007 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND `k`.`ParentId` IS NULL
INFO  2025-04-03 15:43:11,068 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND `k0`.`ParentId` IS NULL
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:43:11,171 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,189 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,208 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,217 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,232 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,241 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,251 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,259 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,269 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,277 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,294 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,310 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,321 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,333 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,344 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:11,351 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:11,407 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:11,416 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 1240.6467ms
INFO  2025-04-03 15:43:11,418 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:11,420 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1296.4658ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:16,821 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96  
INFO  2025-04-03 15:43:16,823 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:16,826 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0348ms 204 
INFO  2025-04-03 15:43:16,830 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96 application/json 
INFO  2025-04-03 15:43:16,832 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:16,835 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:16,838 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:16,847 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "DisciplineQuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.DisciplineQuestionTypeDto]] GetListAsync(Int32) on controller YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:17,621 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:17,655 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__disciplineId_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`DisciplineId`, `d`.`Name`, `d`.`QuestionTypeId`, `d0`.`Name`, `q`.`Name`, `q`.`QuestionCategory`
FROM `DisciplineQuestionTypes` AS `d`
INNER JOIN `QuestionTypes` AS `q` ON `d`.`QuestionTypeId` = `q`.`Id`
INNER JOIN `Disciplines` AS `d0` ON `d`.`DisciplineId` = `d0`.`Id`
WHERE `d`.`DisciplineId` IN (
    SELECT `d1`.`Id`
    FROM `Disciplines` AS `d1`
)
 AND (`d`.`DisciplineId` = @__disciplineId_0)
ORDER BY `q`.`Sort`, `d`.`Name`
INFO  2025-04-03 15:43:17,706 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:17,711 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 860.3208ms
INFO  2025-04-03 15:43:17,714 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:17,717 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 887.6914ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:19,330 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=&CognitiveAbilityId=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:43:19,333 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:19,335 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.947ms 204 
INFO  2025-04-03 15:43:19,337 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=&CognitiveAbilityId=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:43:19,339 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:19,343 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:19,361 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:19,371 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:19,379 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:19,419 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND `k`.`ParentId` IS NULL
INFO  2025-04-03 15:43:19,456 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND `k0`.`ParentId` IS NULL
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:43:19,467 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,485 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,495 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,506 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,522 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,533 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,544 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,553 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:19,594 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:19,597 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 223.5643ms
INFO  2025-04-03 15:43:19,599 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:19,601 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 263.9419ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:21,399 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=135  
INFO  2025-04-03 15:43:21,402 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:21,405 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.3881ms 204 
INFO  2025-04-03 15:43:21,408 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=135 application/json 10
INFO  2025-04-03 15:43:21,411 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:21,418 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:21,422 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:21,431 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:21,439 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:21,466 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
WARN  2025-04-03 15:43:21,567 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - 禁止删除有子节点的知识点
Abp.UI.UserFriendlyException: 禁止删除有子节点的知识点
   at YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync(Int64 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\KnowledgePoints\KnowledgePointAppService.cs:line 257
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:43:21,576 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:21,588 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 146.5154ms
INFO  2025-04-03 15:43:21,592 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:21,595 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 186.7404ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:43:23,759 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2946  
INFO  2025-04-03 15:43:23,761 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:23,765 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2779ms 204 
INFO  2025-04-03 15:43:23,768 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2946 application/json 11
INFO  2025-04-03 15:43:23,771 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:23,776 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:23,780 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:23,788 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:23,795 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:23,823 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:23,842 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:23,866 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:23,905 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:23,922 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:23,934 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:23,973 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2946)
INFO  2025-04-03 15:43:23,985 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:24,032 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:24,035 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 244.9115ms
INFO  2025-04-03 15:43:24,037 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:24,039 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 271.497ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:24,774 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:43:24,776 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:24,778 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4106ms 204 
INFO  2025-04-03 15:43:24,782 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:43:24,784 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:24,787 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:24,789 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:24,794 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:43:24,862 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:24,864 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.5984ms
INFO  2025-04-03 15:43:24,866 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:24,868 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.9948ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:26,551 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2934  
INFO  2025-04-03 15:43:26,554 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:26,556 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4728ms 204 
INFO  2025-04-03 15:43:26,558 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2934 application/json 11
INFO  2025-04-03 15:43:26,559 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:26,562 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:26,564 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:26,569 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:26,576 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:26,614 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:26,623 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:26,631 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:26,648 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:26,657 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:26,671 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:26,680 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2934)
INFO  2025-04-03 15:43:26,687 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:26,729 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:26,731 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 160.5034ms
INFO  2025-04-03 15:43:26,733 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:26,735 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 177.3095ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:28,841 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2922  
INFO  2025-04-03 15:43:28,844 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:28,847 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7241ms 204 
INFO  2025-04-03 15:43:28,850 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2922 application/json 11
INFO  2025-04-03 15:43:28,856 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:28,859 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:28,862 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:28,868 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:28,875 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:28,900 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:28,908 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:28,915 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:28,926 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:28,936 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:28,948 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:28,959 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2922)
INFO  2025-04-03 15:43:28,969 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:29,015 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:29,018 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 148.3623ms
INFO  2025-04-03 15:43:29,020 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:29,022 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 171.9152ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:37,558 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2910  
INFO  2025-04-03 15:43:37,560 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:37,563 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8192ms 204 
INFO  2025-04-03 15:43:37,565 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2910 application/json 11
INFO  2025-04-03 15:43:37,567 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:37,569 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:37,572 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:37,576 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:37,583 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:37,613 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:37,622 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:37,631 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:37,639 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:37,652 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:37,665 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:37,675 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2910)
INFO  2025-04-03 15:43:37,682 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:37,734 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:37,736 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 158.0288ms
INFO  2025-04-03 15:43:37,738 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:37,739 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 174.8339ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:38,552 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=135&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 15:43:38,554 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:38,557 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1303ms 204 
INFO  2025-04-03 15:43:38,559 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=135&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 15:43:38,562 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:38,566 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:38,568 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:38,573 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:38,579 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:38,606 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND (`k`.`ParentId` = @__search_ParentId_0)
INFO  2025-04-03 15:43:38,618 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND (`k0`.`ParentId` = @__search_ParentId_0)
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:43:38,633 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:38,644 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:38,659 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:38,672 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:38,747 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:38,749 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 174.8127ms
INFO  2025-04-03 15:43:38,751 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:38,753 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 194.5058ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:41,153 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2949  
INFO  2025-04-03 15:43:41,160 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:41,164 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.6253ms 204 
INFO  2025-04-03 15:43:41,168 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2949 application/json 11
INFO  2025-04-03 15:43:41,170 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:41,173 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:41,174 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:41,181 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:41,188 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:41,229 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:41,238 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:41,248 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:41,258 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:41,267 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:41,276 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:41,284 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2949)
INFO  2025-04-03 15:43:41,294 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2949)
INFO  2025-04-03 15:43:41,305 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:41,312 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:41,357 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:41,360 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 176.964ms
INFO  2025-04-03 15:43:41,361 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:41,363 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 197.1071ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:42,912 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=138  
INFO  2025-04-03 15:43:42,915 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:42,917 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9544ms 204 
INFO  2025-04-03 15:43:42,919 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=138 application/json 10
INFO  2025-04-03 15:43:42,922 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:42,925 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:42,927 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:42,932 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:42,939 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:43,039 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:43,046 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:43,056 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:43,063 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:43,078 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:43,089 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:43,101 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (138)
INFO  2025-04-03 15:43:43,110 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (138)
INFO  2025-04-03 15:43:43,117 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:43,122 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:43,169 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:43,171 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 236.941ms
INFO  2025-04-03 15:43:43,172 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:43,174 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 255.2623ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:44,770 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:43:44,772 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:44,774 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5762ms 204 
INFO  2025-04-03 15:43:44,775 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:43:44,777 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:44,779 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:44,781 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:44,785 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:43:44,843 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:44,845 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 58.1021ms
INFO  2025-04-03 15:43:44,846 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:43:44,848 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 72.7973ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:45,326 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=135  
INFO  2025-04-03 15:43:45,328 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:45,330 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9464ms 204 
INFO  2025-04-03 15:43:45,332 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=135 application/json 10
INFO  2025-04-03 15:43:45,338 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:45,342 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:45,344 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:45,350 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:45,356 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:45,395 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:45,403 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:45,414 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:45,422 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:45,436 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:45,444 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:45,453 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (135)
INFO  2025-04-03 15:43:45,459 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:45,501 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:45,504 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 151.1404ms
INFO  2025-04-03 15:43:45,506 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:45,507 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 175.3135ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:46,615 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=153&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 15:43:46,620 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:46,625 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.0934ms 204 
INFO  2025-04-03 15:43:46,629 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=153&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 15:43:46,632 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:46,636 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:46,642 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:46,648 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:46,660 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:46,678 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND (`k`.`ParentId` = @__search_ParentId_0)
INFO  2025-04-03 15:43:46,690 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND (`k0`.`ParentId` = @__search_ParentId_0)
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:43:46,699 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,708 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,724 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,731 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,738 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,746 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,755 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,765 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,773 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,780 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:46,788 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:46,822 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:46,828 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 174.2704ms
INFO  2025-04-03 15:43:46,829 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:46,832 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 204.6221ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:49,208 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2943  
INFO  2025-04-03 15:43:49,209 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:49,211 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5831ms 204 
INFO  2025-04-03 15:43:49,213 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2943 application/json 11
INFO  2025-04-03 15:43:49,214 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:49,216 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:49,218 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:49,227 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:49,231 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:49,255 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:49,262 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:49,270 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:49,282 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:49,290 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:49,300 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:49,309 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2943)
INFO  2025-04-03 15:43:49,333 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2943)
INFO  2025-04-03 15:43:49,341 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:49,350 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:49,399 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:49,401 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 172.7717ms
INFO  2025-04-03 15:43:49,403 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:49,405 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 191.7291ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:51,160 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=156  
INFO  2025-04-03 15:43:51,162 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:51,164 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.714ms 204 
INFO  2025-04-03 15:43:51,167 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=156 application/json 10
INFO  2025-04-03 15:43:51,168 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:51,171 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:51,175 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:51,179 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:51,184 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:51,207 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:51,215 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:51,223 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:51,230 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:51,241 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:51,252 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:51,262 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (156)
INFO  2025-04-03 15:43:51,274 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (156)
INFO  2025-04-03 15:43:51,280 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:51,288 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:51,329 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:51,331 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 150.1169ms
INFO  2025-04-03 15:43:51,333 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:51,336 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 168.8924ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:53,030 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2940  
INFO  2025-04-03 15:43:53,032 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:53,034 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6325ms 204 
INFO  2025-04-03 15:43:53,035 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2940 application/json 11
INFO  2025-04-03 15:43:53,037 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:53,040 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:53,042 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:53,047 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:53,052 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:53,075 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:53,083 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:53,099 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:53,107 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:53,120 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:53,130 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:53,139 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2940)
INFO  2025-04-03 15:43:53,149 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2940)
INFO  2025-04-03 15:43:53,156 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:53,163 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:53,204 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:53,207 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 157.5927ms
INFO  2025-04-03 15:43:53,209 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:53,211 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 175.7104ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:54,928 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=162  
INFO  2025-04-03 15:43:54,930 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:54,932 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6424ms 204 
INFO  2025-04-03 15:43:54,934 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=162 application/json 10
INFO  2025-04-03 15:43:54,936 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:54,939 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:54,943 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:54,948 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:54,954 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:54,981 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:54,990 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:54,997 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:55,013 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:55,025 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:55,033 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:55,043 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (162)
INFO  2025-04-03 15:43:55,053 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (162)
INFO  2025-04-03 15:43:55,061 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:55,067 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:55,107 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:55,112 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 159.65ms
INFO  2025-04-03 15:43:55,114 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:55,117 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 182.415ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:57,848 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2937  
INFO  2025-04-03 15:43:57,849 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:57,851 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7649ms 204 
INFO  2025-04-03 15:43:57,853 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2937 application/json 11
INFO  2025-04-03 15:43:57,854 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:57,856 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:57,859 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:57,865 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:57,870 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:57,895 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:57,902 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:57,910 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:57,917 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:57,928 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:57,938 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:57,948 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2937)
INFO  2025-04-03 15:43:57,958 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2937)
INFO  2025-04-03 15:43:57,965 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:57,973 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:58,022 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:58,025 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 157.5482ms
INFO  2025-04-03 15:43:58,026 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:58,028 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 175.3934ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:43:59,711 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=159  
INFO  2025-04-03 15:43:59,716 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:59,718 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.1669ms 204 
INFO  2025-04-03 15:43:59,720 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=159 application/json 10
INFO  2025-04-03 15:43:59,722 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:43:59,725 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:43:59,727 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:59,733 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:43:59,738 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:43:59,763 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:43:59,771 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:43:59,783 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:43:59,797 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:59,809 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:43:59,818 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:43:59,829 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (159)
INFO  2025-04-03 15:43:59,841 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (159)
INFO  2025-04-03 15:43:59,849 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:59,856 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:43:59,906 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:43:59,908 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 172.976ms
INFO  2025-04-03 15:43:59,909 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:43:59,910 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 190.7537ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:01,703 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=153  
INFO  2025-04-03 15:44:01,705 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:01,707 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.145ms 204 
INFO  2025-04-03 15:44:01,710 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=153 application/json 10
INFO  2025-04-03 15:44:01,713 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:01,717 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:01,719 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:01,723 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:01,759 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:01,802 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:01,809 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:01,817 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:01,824 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:01,836 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:01,843 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:01,855 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (153)
INFO  2025-04-03 15:44:01,861 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:01,915 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:01,918 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 192.0758ms
INFO  2025-04-03 15:44:01,919 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:01,921 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 211.7348ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:03,151 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=141&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 15:44:03,154 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:03,155 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1192ms 204 
INFO  2025-04-03 15:44:03,157 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=141&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 15:44:03,159 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:03,162 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:03,164 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:03,169 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:03,174 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:03,201 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND (`k`.`ParentId` = @__search_ParentId_0)
INFO  2025-04-03 15:44:03,211 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND (`k0`.`ParentId` = @__search_ParentId_0)
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:44:03,219 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,225 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,239 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,245 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,255 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,261 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,269 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,276 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,283 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,292 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,301 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:03,307 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:03,344 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:03,346 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 174.7435ms
INFO  2025-04-03 15:44:03,348 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:03,350 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 193.1645ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:04,771 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:44:04,773 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:04,774 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5154ms 204 
INFO  2025-04-03 15:44:04,776 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:44:04,777 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:04,779 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:04,781 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:04,785 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:44:04,831 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:04,834 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 46.1885ms
INFO  2025-04-03 15:44:04,836 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:04,838 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 62.2618ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:05,224 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2931  
INFO  2025-04-03 15:44:05,226 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:05,228 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0207ms 204 
INFO  2025-04-03 15:44:05,230 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2931 application/json 11
INFO  2025-04-03 15:44:05,231 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:05,234 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:05,248 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:05,255 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:05,262 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:05,279 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:05,287 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:05,294 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:05,300 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:05,308 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:05,317 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:05,325 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2931)
INFO  2025-04-03 15:44:05,333 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2931)
INFO  2025-04-03 15:44:05,339 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:05,343 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:05,371 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:05,373 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 116.2571ms
INFO  2025-04-03 15:44:05,375 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:05,376 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 147.3338ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:06,855 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=150  
INFO  2025-04-03 15:44:06,857 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:06,859 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4254ms 204 
INFO  2025-04-03 15:44:06,861 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=150 application/json 10
INFO  2025-04-03 15:44:06,863 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:06,864 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:06,867 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:06,872 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:06,876 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:06,903 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:06,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:06,917 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:06,924 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:06,932 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:06,940 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:06,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (150)
INFO  2025-04-03 15:44:06,957 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (150)
INFO  2025-04-03 15:44:06,962 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:06,967 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:06,996 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:06,998 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 123.6589ms
INFO  2025-04-03 15:44:06,999 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:07,003 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 140.5071ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:08,599 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2928  
INFO  2025-04-03 15:44:08,603 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:08,607 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.4969ms 204 
INFO  2025-04-03 15:44:08,611 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2928 application/json 11
INFO  2025-04-03 15:44:08,613 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:08,615 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:08,617 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:08,622 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:08,627 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:08,648 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:08,655 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:08,662 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:08,672 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:08,682 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:08,690 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:08,698 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2928)
INFO  2025-04-03 15:44:08,707 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2928)
INFO  2025-04-03 15:44:08,713 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:08,718 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:08,752 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:08,755 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 130.3169ms
INFO  2025-04-03 15:44:08,756 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:08,758 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 147.6346ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:10,246 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=147  
INFO  2025-04-03 15:44:10,248 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:10,250 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7419ms 204 
INFO  2025-04-03 15:44:10,252 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=147 application/json 10
INFO  2025-04-03 15:44:10,255 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:10,258 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:10,261 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:10,266 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:10,273 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:10,293 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:10,302 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:10,311 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:10,320 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:10,330 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:10,339 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:10,439 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (30ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (147)
INFO  2025-04-03 15:44:10,460 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (147)
INFO  2025-04-03 15:44:10,466 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:10,474 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:10,518 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:10,520 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 252.2786ms
INFO  2025-04-03 15:44:10,521 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:10,523 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 270.9068ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:11,721 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2925  
INFO  2025-04-03 15:44:11,725 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:11,727 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.609ms 204 
INFO  2025-04-03 15:44:11,729 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2925 application/json 11
INFO  2025-04-03 15:44:11,731 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:11,733 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:11,734 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:11,739 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:11,745 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:11,766 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:11,773 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:11,784 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:11,791 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:11,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:11,813 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:11,823 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2925)
INFO  2025-04-03 15:44:11,834 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2925)
INFO  2025-04-03 15:44:11,840 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:11,845 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:11,888 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:11,891 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 149.4526ms
INFO  2025-04-03 15:44:11,893 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:11,895 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 166.1772ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:13,255 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=144  
INFO  2025-04-03 15:44:13,257 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:13,259 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.478ms 204 
INFO  2025-04-03 15:44:13,261 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=144 application/json 10
INFO  2025-04-03 15:44:13,263 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:13,280 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:13,285 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:13,290 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:13,296 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:13,313 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:13,323 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:13,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:13,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:13,343 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:13,350 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:13,358 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (144)
INFO  2025-04-03 15:44:13,368 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (144)
INFO  2025-04-03 15:44:13,374 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:13,378 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:13,405 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:13,408 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 115.0851ms
INFO  2025-04-03 15:44:13,410 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:13,411 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 150.6887ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:15,179 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=141  
INFO  2025-04-03 15:44:15,181 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:15,184 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.517ms 204 
INFO  2025-04-03 15:44:15,187 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=141 application/json 10
INFO  2025-04-03 15:44:15,190 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:15,193 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:15,196 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:15,200 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:15,207 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:15,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:15,239 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:15,246 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:15,253 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:15,261 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:15,270 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:15,280 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (141)
INFO  2025-04-03 15:44:15,288 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:15,327 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:15,329 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 126.9796ms
INFO  2025-04-03 15:44:15,330 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:15,332 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 146.5945ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:16,150 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=123&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999  
INFO  2025-04-03 15:44:16,152 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:16,155 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.303ms 204 
INFO  2025-04-03 15:44:16,158 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/GetList?ParentId=123&CognitiveAbilityId=&KeyWord=&SkipCount=0&MaxResultCount=99999 application/json 
INFO  2025-04-03 15:44:16,161 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:16,163 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:16,165 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:16,169 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.KnowledgePoints.Dto.KnowledgeTreePointDto]] GetListAsync(YGNT.QuestionLibrary.KnowledgePoints.Dto.SearchKnowledgePointInputDto) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:16,175 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:16,199 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `KnowledgePoints` AS `k`
INNER JOIN `Disciplines` AS `d` ON `k`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE (((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`) AND (`k`.`ParentId` = @__search_ParentId_0)
INFO  2025-04-03 15:44:16,209 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__search_ParentId_0='?' (DbType = Int64), @__p_2='?' (DbType = Int32), @__p_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CognitiveAbilityId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`DisciplineId`, `t`.`IsDeleted`, `t`.`KnowledgeId`, `t`.`LastModificationTime`, `t`.`LastModifierUserId`, `t`.`Name`, `t`.`ParentId`, `t`.`Sort`, `c`.`Name`, `d1`.`Name`, EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`t`.`Id` = `k`.`ParentId`))
FROM (
    SELECT `k0`.`Id`, `k0`.`CognitiveAbilityId`, `k0`.`CreationTime`, `k0`.`CreatorUserId`, `k0`.`DisciplineId`, `k0`.`IsDeleted`, `k0`.`KnowledgeId`, `k0`.`LastModificationTime`, `k0`.`LastModifierUserId`, `k0`.`Name`, `k0`.`ParentId`, `k0`.`Sort`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`
    FROM `KnowledgePoints` AS `k0`
    INNER JOIN `Disciplines` AS `d` ON `k0`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE (((@__ef_filter__p_0 OR NOT (`k0`.`IsDeleted`)) AND `k0`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`) AND (`k0`.`ParentId` = @__search_ParentId_0)
    ORDER BY `k0`.`Sort`, `k0`.`Name`
    LIMIT @__p_2 OFFSET @__p_1
) AS `t`
LEFT JOIN `CognitiveAbilities` AS `c` ON `t`.`CognitiveAbilityId` = `c`.`Id`
INNER JOIN `Disciplines` AS `d1` ON `t`.`DisciplineId` = `d1`.`Id`
ORDER BY `t`.`Sort`, `t`.`Name`
INFO  2025-04-03 15:44:16,225 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,232 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,248 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,255 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,268 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,277 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,289 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,297 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,305 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,312 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,321 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:16,328 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE (@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:16,363 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:16,365 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 193.5753ms
INFO  2025-04-03 15:44:16,367 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:16,368 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 211.74ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:18,921 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2919  
INFO  2025-04-03 15:44:18,923 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:18,925 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.8962ms 204 
INFO  2025-04-03 15:44:18,927 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2919 application/json 11
INFO  2025-04-03 15:44:18,931 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:18,933 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:18,935 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:18,939 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:18,943 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:18,962 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:18,968 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:18,976 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:18,982 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:18,991 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:18,998 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:19,007 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2919)
INFO  2025-04-03 15:44:19,018 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2919)
INFO  2025-04-03 15:44:19,023 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:19,029 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:19,068 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:19,070 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 129.1723ms
INFO  2025-04-03 15:44:19,071 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:19,074 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 146.6622ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:21,559 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=126  
INFO  2025-04-03 15:44:21,561 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:21,564 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2762ms 204 
INFO  2025-04-03 15:44:21,566 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=126 application/json 10
INFO  2025-04-03 15:44:21,568 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:21,571 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:21,573 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:21,576 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:21,581 [14   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:21,599 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:21,606 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:21,612 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:21,618 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:21,631 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:21,640 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:21,648 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (126)
INFO  2025-04-03 15:44:21,657 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (126)
INFO  2025-04-03 15:44:21,662 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:21,667 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:21,700 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:21,701 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 123.3313ms
INFO  2025-04-03 15:44:21,703 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:21,704 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 139.1068ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:23,071 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2916  
INFO  2025-04-03 15:44:23,073 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:23,074 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7526ms 204 
INFO  2025-04-03 15:44:23,076 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2916 application/json 11
INFO  2025-04-03 15:44:23,078 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:23,081 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:23,085 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:23,089 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:23,093 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:23,113 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:23,120 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:23,127 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:23,134 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:23,144 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:23,152 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:23,160 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2916)
INFO  2025-04-03 15:44:23,167 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2916)
INFO  2025-04-03 15:44:23,172 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:23,187 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:23,228 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:23,229 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 138.6279ms
INFO  2025-04-03 15:44:23,233 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:23,235 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 158.8972ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:24,758 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=132  
INFO  2025-04-03 15:44:24,760 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:24,762 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8121ms 204 
INFO  2025-04-03 15:44:24,764 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=132 application/json 10
INFO  2025-04-03 15:44:24,768 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:24,770 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:24,773 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:24,776 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:44:24,778 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:24,780 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.285ms 204 
INFO  2025-04-03 15:44:24,783 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:44:24,786 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:24,789 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:24,790 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:24,792 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:24,795 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:44:24,796 [15   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:24,812 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:24,820 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:24,827 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:24,833 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:24,841 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:24,850 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:24,857 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (132)
INFO  2025-04-03 15:44:24,867 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (132)
INFO  2025-04-03 15:44:24,873 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:24,878 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:24,908 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:24,910 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:24,912 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 112.9975ms
INFO  2025-04-03 15:44:24,913 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 121.5387ms
INFO  2025-04-03 15:44:24,915 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:24,917 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:24,918 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 135.8817ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:24,920 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 156.0608ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:26,247 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2913  
INFO  2025-04-03 15:44:26,251 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:26,254 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0753ms 204 
INFO  2025-04-03 15:44:26,258 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=2913 application/json 11
INFO  2025-04-03 15:44:26,261 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:26,263 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:26,265 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:26,271 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:26,274 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:26,292 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:26,298 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:26,304 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:26,311 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:26,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:26,327 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:26,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2913)
INFO  2025-04-03 15:44:26,344 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (2913)
INFO  2025-04-03 15:44:26,350 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:26,355 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:26,386 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:26,388 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 115.358ms
INFO  2025-04-03 15:44:26,390 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:26,392 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 135.6287ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:27,894 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=129  
INFO  2025-04-03 15:44:27,896 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:27,899 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8911ms 204 
INFO  2025-04-03 15:44:27,903 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=129 application/json 10
INFO  2025-04-03 15:44:27,906 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:27,909 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:27,910 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:27,914 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:27,921 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:27,943 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:27,951 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:27,959 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:27,965 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:27,974 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:27,985 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:27,993 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (129)
INFO  2025-04-03 15:44:28,005 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (129)
INFO  2025-04-03 15:44:28,011 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:28,016 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:28,046 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:28,048 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 132.2457ms
INFO  2025-04-03 15:44:28,051 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:28,053 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 152.1758ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:29,488 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=123  
INFO  2025-04-03 15:44:29,490 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:29,492 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3419ms 204 
INFO  2025-04-03 15:44:29,495 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/KnowledgePoint/Delete?id=123 application/json 10
INFO  2025-04-03 15:44:29,497 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:29,498 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:29,500 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:29,504 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "KnowledgePoint"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int64) on controller YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:29,508 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:29,530 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `KnowledgePoints` AS `k`
    WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`k`.`ParentId` = @__id_0))
INFO  2025-04-03 15:44:29,538 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE ((@__ef_filter__p_0 OR NOT (`k`.`IsDeleted`)) AND `k`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`k`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:44:29,551 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`CognitiveAbilityId`, `k`.`CreationTime`, `k`.`CreatorUserId`, `k`.`DisciplineId`, `k`.`IsDeleted`, `k`.`KnowledgeId`, `k`.`LastModificationTime`, `k`.`LastModifierUserId`, `k`.`Name`, `k`.`ParentId`, `k`.`Sort`
FROM `KnowledgePoints` AS `k`
WHERE `k`.`Id` = @__p_0
LIMIT 1
INFO  2025-04-03 15:44:29,560 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p11='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (DbType = DateTime), @p2='?' (DbType = Int64), @p3='?' (DbType = Int32), @p4='?' (DbType = Boolean), @p5='?' (DbType = Int64), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int64), @p8='?' (Size = 4000), @p9='?' (DbType = Int64), @p10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
UPDATE `KnowledgePoints` SET `CognitiveAbilityId` = @p0, `CreationTime` = @p1, `CreatorUserId` = @p2, `DisciplineId` = @p3, `IsDeleted` = @p4, `KnowledgeId` = @p5, `LastModificationTime` = @p6, `LastModifierUserId` = @p7, `Name` = @p8, `ParentId` = @p9, `Sort` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:29,572 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__descendant_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Descendant` = @__descendant_0
ORDER BY `k`.`Depth` DESC
INFO  2025-04-03 15:44:29,579 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE `k`.`Ancestor` = @__ancestor_0
ORDER BY `k`.`Depth`
INFO  2025-04-03 15:44:29,588 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ancestorTreePath_Ancestor_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `k`.`Id`, `k`.`Ancestor`, `k`.`Depth`, `k`.`Descendant`
FROM `KnowledgePointTreePaths` AS `k`
WHERE (`k`.`Ancestor` = @__ancestorTreePath_Ancestor_0) AND `k`.`Descendant` IN (123)
INFO  2025-04-03 15:44:29,594 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
DELETE FROM `KnowledgePointTreePaths`
WHERE `Id` = @p0;
SELECT ROW_COUNT();
INFO  2025-04-03 15:44:29,639 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:29,647 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 135.7907ms
INFO  2025-04-03 15:44:29,649 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.KnowledgePoints.KnowledgePointAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:29,652 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 157.6815ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:30,268 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96  
INFO  2025-04-03 15:44:30,272 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:30,274 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0778ms 204 
INFO  2025-04-03 15:44:30,276 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96 application/json 
INFO  2025-04-03 15:44:30,279 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:30,282 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:30,283 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:30,288 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "DisciplineQuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.DisciplineQuestionTypeDto]] GetListAsync(Int32) on controller YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:30,293 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:30,316 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__disciplineId_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`DisciplineId`, `d`.`Name`, `d`.`QuestionTypeId`, `d0`.`Name`, `q`.`Name`, `q`.`QuestionCategory`
FROM `DisciplineQuestionTypes` AS `d`
INNER JOIN `QuestionTypes` AS `q` ON `d`.`QuestionTypeId` = `q`.`Id`
INNER JOIN `Disciplines` AS `d0` ON `d`.`DisciplineId` = `d0`.`Id`
WHERE `d`.`DisciplineId` IN (
    SELECT `d1`.`Id`
    FROM `Disciplines` AS `d1`
)
 AND (`d`.`DisciplineId` = @__disciplineId_0)
ORDER BY `q`.`Sort`, `d`.`Name`
INFO  2025-04-03 15:44:30,353 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:30,356 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 65.3575ms
INFO  2025-04-03 15:44:30,358 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:30,360 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.0575ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:31,501 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:44:31,503 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:31,506 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6734ms 204 
INFO  2025-04-03 15:44:31,509 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:44:31,512 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:31,516 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:31,518 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:31,529 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:31,542 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:31,573 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:44:31,586 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
ERROR 2025-04-03 15:44:31,611 [6    ] Microsoft.EntityFrameworkCore.Query      - An exception occurred while iterating over the results of a query for context type 'YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext'.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ERROR 2025-04-03 15:44:31,735 [6    ] Mvc.ExceptionHandling.AbpExceptionFilter - Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at YGNT.Infrastructure.Extension.ResultExtension.GetResultAsync[TResult,TEntity](IQueryable`1 queryable, PagedResultRequestDto search, Expression`1 select) in E:\work\tl\gv-api\src\YGNT.Infrastructure\Extension\ResultExtension.cs:line 25
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync(SearchTextbookInputDto search) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 83
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:44:31,740 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:31,742 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 210.863ms
INFO  2025-04-03 15:44:31,743 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:31,745 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 237.1342ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:44:34,928 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 15:44:34,930 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:34,932 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9828ms 204 
INFO  2025-04-03 15:44:34,934 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 15:44:34,936 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:34,937 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:34,941 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:34,948 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:35,215 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:35,239 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 15:44:35,292 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:35,297 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 346.0615ms
INFO  2025-04-03 15:44:35,299 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:35,301 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 366.9769ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:44:37,228 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:44:37,230 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:37,232 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5946ms 204 
INFO  2025-04-03 15:44:37,234 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:44:37,236 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:37,238 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:37,244 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:37,249 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:44:37,274 [11   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:44:37,300 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:44:37,311 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
ERROR 2025-04-03 15:44:37,315 [40   ] Microsoft.EntityFrameworkCore.Query      - An exception occurred while iterating over the results of a query for context type 'YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext'.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ERROR 2025-04-03 15:44:37,436 [40   ] Mvc.ExceptionHandling.AbpExceptionFilter - Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Int64'.
   at MySqlConnector.Core.Row.GetInt64(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 253
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at YGNT.Infrastructure.Extension.ResultExtension.GetResultAsync[TResult,TEntity](IQueryable`1 queryable, PagedResultRequestDto search, Expression`1 select) in E:\work\tl\gv-api\src\YGNT.Infrastructure\Extension\ResultExtension.cs:line 25
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync(SearchTextbookInputDto search) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 83
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:44:37,438 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:37,440 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 189.326ms
INFO  2025-04-03 15:44:37,445 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:44:37,448 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 213.4365ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:44:45,128 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:44:45,130 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:45,132 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7433ms 204 
INFO  2025-04-03 15:44:45,133 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:44:45,135 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:44:45,136 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:44:45,139 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:45,143 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:44:45,213 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:44:45,215 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.8238ms
INFO  2025-04-03 15:44:45,216 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:44:45,218 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.5343ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:45:05,123 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:45:05,125 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:05,127 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4686ms 204 
INFO  2025-04-03 15:45:05,131 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:45:05,132 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:05,134 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:45:05,136 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:05,139 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:45:05,205 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:45:05,207 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.2794ms
INFO  2025-04-03 15:45:05,209 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:05,210 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.6496ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:45:25,130 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:45:25,141 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:25,143 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 18.0391ms 204 
INFO  2025-04-03 15:45:25,147 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:45:25,149 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:25,152 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:45:25,153 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:25,158 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:45:25,357 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:45:25,358 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 199.2035ms
INFO  2025-04-03 15:45:25,360 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:25,362 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 215.4374ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:45:45,142 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:45:45,145 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:45,146 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.4398ms 204 
INFO  2025-04-03 15:45:45,152 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:45:45,153 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:45,155 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:45:45,156 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:45,159 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:45:45,409 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:45:45,411 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 249.6221ms
INFO  2025-04-03 15:45:45,414 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:45:45,416 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 263.0011ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:45:58,580 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:45:58,582 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:58,584 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9327ms 204 
INFO  2025-04-03 15:45:58,586 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Discipline/GetList?KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:45:58,587 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:45:58,589 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:45:58,592 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:45:58,599 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Discipline"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Disciplines.Dto.DisciplineDto]] GetListAsync(YGNT.QuestionLibrary.Disciplines.Dto.SearchDisciplineInputDto) on controller YGNT.QuestionLibrary.Disciplines.DisciplineAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:45:58,877 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:45:58,922 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Disciplines` AS `d`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE `d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND `e`.`IsActive`
INFO  2025-04-03 15:45:58,942 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`CourseId`, `t`.`CreationTime`, `t`.`CreatorUserId`, `t`.`GradeId`, `t`.`Name`, `g0`.`Name`
FROM (
    SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`, `g`.`Id` AS `Id0`, `e`.`Id` AS `Id1`
    FROM `Disciplines` AS `d`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE `d`.`Id` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
     AND `e`.`IsActive`
    ORDER BY `d`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t`
INNER JOIN `Grades` AS `g0` ON `t`.`GradeId` = `g0`.`Id`
ORDER BY `t`.`Name`
INFO  2025-04-03 15:45:58,993 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:45:58,998 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 396.9373ms
INFO  2025-04-03 15:45:59,000 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Disciplines.DisciplineAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:45:59,001 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 415.2927ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:00,857 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:46:00,860 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:00,862 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.6138ms 204 
INFO  2025-04-03 15:46:00,866 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:46:00,868 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:00,870 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:00,872 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:00,878 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:00,884 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:00,907 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:46:00,915 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:46:00,964 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:00,970 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 89.7023ms
INFO  2025-04-03 15:46:00,971 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:00,974 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 107.6321ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:04,772 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:46:04,774 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:04,776 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8223ms 204 
INFO  2025-04-03 15:46:04,778 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:46:04,781 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:04,782 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:04,784 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:04,788 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:46:04,850 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:04,852 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.525ms
INFO  2025-04-03 15:46:04,854 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:04,856 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.2892ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:05,567 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/Active?id=16&isActive=false  
INFO  2025-04-03 15:46:05,569 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:05,571 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7524ms 204 
INFO  2025-04-03 15:46:05,572 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 PUT http://localhost:21021/api/services/QuestionLibrary/Textbook/Active?id=16&isActive=false  0
INFO  2025-04-03 15:46:05,574 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:05,575 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:05,577 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.ActiveAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:05,584 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Active", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Boolean] ActiveAsync(Int32, Boolean) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:05,593 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:05,629 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`Id` = @__p_0)
LIMIT 1
INFO  2025-04-03 15:46:05,984 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (346ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 15:46:06,037 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:06,038 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.ActiveAsync (YGNT.QuestionLibrary.Application) in 452.2396ms
INFO  2025-04-03 15:46:06,040 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.ActiveAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:06,041 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 468.9501ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:06,043 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:46:06,044 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:06,046 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2.6839ms 204 
INFO  2025-04-03 15:46:06,050 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:46:06,053 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:06,055 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:06,057 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:06,075 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:06,085 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:06,108 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:46:06,115 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:46:06,163 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:06,167 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 88.1216ms
INFO  2025-04-03 15:46:06,169 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:06,171 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 122.8102ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:08,110 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=48  
INFO  2025-04-03 15:46:08,112 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:08,114 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9024ms 204 
INFO  2025-04-03 15:46:08,116 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=48 application/json 9
INFO  2025-04-03 15:46:08,120 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:08,122 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:08,123 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:08,127 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int32) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:08,132 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:08,155 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Chapters` AS `c`
    WHERE (@__ef_filter__p_0 OR NOT (`c`.`IsDeleted`)) AND (`c`.`TextbookId` = @__id_0))
WARN  2025-04-03 15:46:08,223 [35   ] Mvc.ExceptionHandling.AbpExceptionFilter - 教材已被使用,禁止删除
Abp.UI.UserFriendlyException: 教材已被使用,禁止删除
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync(Int32 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 146
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:46:08,226 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:08,229 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 99.5606ms
INFO  2025-04-03 15:46:08,231 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:08,234 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.9103ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:46:12,166 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=48 application/json 9
INFO  2025-04-03 15:46:12,168 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:12,170 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:12,172 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:12,176 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int32) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:12,181 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:12,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Chapters` AS `c`
    WHERE (@__ef_filter__p_0 OR NOT (`c`.`IsDeleted`)) AND (`c`.`TextbookId` = @__id_0))
WARN  2025-04-03 15:46:12,262 [35   ] Mvc.ExceptionHandling.AbpExceptionFilter - 教材已被使用,禁止删除
Abp.UI.UserFriendlyException: 教材已被使用,禁止删除
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync(Int32 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 146
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:46:12,265 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:12,267 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 88.9742ms
INFO  2025-04-03 15:46:12,269 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:12,272 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.1995ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:46:16,599 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96  
INFO  2025-04-03 15:46:16,601 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:16,603 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.4833ms 204 
INFO  2025-04-03 15:46:16,608 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/DisciplineQuestionType/GetList?disciplineId=96 application/json 
INFO  2025-04-03 15:46:16,610 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:16,612 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:16,614 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:16,617 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "DisciplineQuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.DisciplineQuestionTypeDto]] GetListAsync(Int32) on controller YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:16,620 [13   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:16,648 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__disciplineId_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`DisciplineId`, `d`.`Name`, `d`.`QuestionTypeId`, `d0`.`Name`, `q`.`Name`, `q`.`QuestionCategory`
FROM `DisciplineQuestionTypes` AS `d`
INNER JOIN `QuestionTypes` AS `q` ON `d`.`QuestionTypeId` = `q`.`Id`
INNER JOIN `Disciplines` AS `d0` ON `d`.`DisciplineId` = `d0`.`Id`
WHERE `d`.`DisciplineId` IN (
    SELECT `d1`.`Id`
    FROM `Disciplines` AS `d1`
)
 AND (`d`.`DisciplineId` = @__disciplineId_0)
ORDER BY `q`.`Sort`, `d`.`Name`
INFO  2025-04-03 15:46:16,687 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:16,689 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 69.519ms
INFO  2025-04-03 15:46:16,692 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.DisciplineQuestionTypeAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:16,693 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.8147ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:17,941 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:46:17,944 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:17,946 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.0501ms 204 
INFO  2025-04-03 15:46:17,948 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:46:17,950 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:17,952 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:17,955 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:17,981 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:17,992 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:18,017 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:46:18,026 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:46:18,069 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:18,071 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 88.3678ms
INFO  2025-04-03 15:46:18,073 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:18,076 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 126.8215ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:23,078 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=16  
INFO  2025-04-03 15:46:23,081 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:23,083 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4415ms 204 
INFO  2025-04-03 15:46:23,085 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://localhost:21021/api/services/QuestionLibrary/Textbook/Delete?id=16 application/json 9
INFO  2025-04-03 15:46:23,086 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:23,088 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:23,089 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:23,093 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "Delete", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DeleteAsync(Int32) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:23,097 [12   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:23,126 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Chapters` AS `c`
    WHERE (@__ef_filter__p_0 OR NOT (`c`.`IsDeleted`)) AND (`c`.`TextbookId` = @__id_0))
WARN  2025-04-03 15:46:23,190 [35   ] Mvc.ExceptionHandling.AbpExceptionFilter - 教材已被使用,禁止删除
Abp.UI.UserFriendlyException: 教材已被使用,禁止删除
   at YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync(Int32 id) in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Textbooks\TextbookAppService.cs:line 146
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:46:23,193 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:23,196 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application) in 100.7551ms
INFO  2025-04-03 15:46:23,198 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DeleteAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:23,200 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 114.7032ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:46:24,770 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:46:24,772 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:24,774 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4758ms 204 
INFO  2025-04-03 15:46:24,776 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:46:24,778 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:24,779 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:24,781 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:24,784 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:46:24,877 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:24,880 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 92.8297ms
INFO  2025-04-03 15:46:24,882 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:24,883 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 107.5318ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:38,832 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 15:46:38,834 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:38,838 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2979ms 204 
INFO  2025-04-03 15:46:38,843 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 15:46:38,846 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:38,848 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:38,851 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:46:38,860 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:46:39,079 [35   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:46:39,105 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 15:46:39,157 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 15:46:39,204 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,220 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,241 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,255 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,262 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,270 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,279 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,285 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,294 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,302 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,309 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,316 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,326 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,333 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,344 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,354 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,361 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,369 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,378 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,384 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,392 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,403 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,410 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,422 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,431 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,438 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,446 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,454 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,460 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,467 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,476 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,484 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,494 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,505 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,512 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,521 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,532 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,538 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,547 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,558 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,576 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,588 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,596 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,605 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,617 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,624 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,637 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,648 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,655 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,665 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,675 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,682 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,693 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,703 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,711 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,719 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,728 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,735 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,744 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,755 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,761 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,772 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,782 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,789 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,798 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,808 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,817 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,826 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,837 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,845 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,855 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,864 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,873 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,883 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,893 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,900 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,909 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,920 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,928 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,938 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,950 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,958 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,966 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:39,976 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:39,983 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:39,993 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,003 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,009 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,019 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,030 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,040 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,049 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,060 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,068 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,076 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,087 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,094 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,104 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,113 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,120 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,128 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,137 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,145 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,154 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,164 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,171 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,180 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,193 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,210 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,219 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,225 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,237 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,247 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,254 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,262 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,272 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,279 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,288 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,299 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,307 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,318 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,327 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,334 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,343 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,353 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,360 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,369 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,379 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,385 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,394 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,405 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,411 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,419 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,428 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,436 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,452 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,462 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,468 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,477 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,488 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,494 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,503 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,513 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,520 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,529 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,539 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,545 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,554 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,565 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,571 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,581 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,592 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,599 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,609 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,622 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,629 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,638 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,648 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,653 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,664 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,676 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,683 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,691 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,704 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,711 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,720 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,731 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,743 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,753 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,763 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,772 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,781 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,801 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,808 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,817 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,828 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,836 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,844 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,855 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,863 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,871 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,883 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,891 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,900 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,910 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,917 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,926 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,937 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,945 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,956 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,968 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:40,975 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:40,988 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:40,998 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,005 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,019 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,029 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,039 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,048 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,060 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,067 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,077 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,088 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,095 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,107 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,119 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,124 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,134 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,145 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,153 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,163 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,173 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,180 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,189 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,208 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,218 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,230 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,237 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,247 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,258 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,265 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,275 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,285 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,292 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,301 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,313 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,319 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,329 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,339 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,345 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,354 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,365 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,372 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,383 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,394 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,404 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,414 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,425 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,432 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,442 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,452 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,459 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,469 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,479 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,485 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,496 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,507 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,514 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,525 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,535 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,546 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,561 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,572 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,579 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,589 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,599 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,607 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,616 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,629 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,636 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,645 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,656 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,664 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,672 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,683 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,688 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,697 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,709 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,717 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,726 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,737 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,744 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,753 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,765 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,775 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,785 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,795 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,801 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,812 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,824 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,831 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,840 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,852 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,858 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,867 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,879 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,888 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,899 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,911 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,918 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,928 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,939 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,946 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,955 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:41,971 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:41,978 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:41,987 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,001 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,009 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,022 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,039 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,046 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,057 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,069 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,076 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,087 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,098 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,105 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,116 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,127 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,141 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,153 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,166 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,175 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,187 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,205 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,216 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,229 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,250 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,264 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,280 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,297 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,307 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,321 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,336 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,346 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,355 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,366 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,373 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,385 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,396 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,404 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,413 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,424 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,431 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,440 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,452 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,460 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,471 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,483 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,491 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,503 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,513 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,523 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,537 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,550 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,560 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,569 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,584 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,592 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,612 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,620 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,631 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,643 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,649 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,659 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,670 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,677 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,689 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,700 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,707 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,718 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,729 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,736 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,746 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,759 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,765 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,776 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,789 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,796 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,818 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,829 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,836 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,846 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,857 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,863 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,872 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,885 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,899 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,920 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,939 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,949 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,960 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,967 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:42,977 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:42,989 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:42,995 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,006 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,017 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,024 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,033 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,043 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,050 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,061 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,073 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,080 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,089 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,104 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,112 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,123 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,140 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,147 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,156 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,168 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,176 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,185 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,197 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,206 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,216 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,227 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,235 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,245 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,256 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,264 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,279 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,291 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,304 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,314 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,325 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,331 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,342 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,358 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,364 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,375 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,387 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,399 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,409 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,420 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,425 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,436 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,446 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,454 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,465 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,477 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,485 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,495 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,506 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,512 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,523 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,534 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,541 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,554 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,572 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,584 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,596 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,605 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,616 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,627 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,634 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,645 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,657 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,663 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,673 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,687 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,693 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,706 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,718 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,724 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,735 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,746 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,752 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,763 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,778 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,785 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,797 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,810 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,818 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,831 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,843 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,851 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,863 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,875 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,881 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,892 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,904 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,911 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,923 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,934 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,940 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,951 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,962 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:43,969 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:43,980 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:43,994 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,001 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,014 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,026 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,032 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,043 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,055 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,061 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,071 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,082 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,089 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,100 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,111 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,122 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,133 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,145 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,151 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,161 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,173 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,180 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,189 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,201 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,210 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,222 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,238 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,248 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,259 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,270 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,278 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,290 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,301 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,307 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,317 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,330 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,336 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,347 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,359 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,366 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,375 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,391 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,397 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,408 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,420 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,428 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,439 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,451 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,458 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,468 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,484 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,494 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,507 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,519 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,526 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,536 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,548 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,553 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,564 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,577 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,583 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,596 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,608 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,614 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,624 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,636 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,643 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,655 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,668 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,674 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,686 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,698 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,706 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,717 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,729 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,736 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,746 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,760 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,766 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,774 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:46:44,776 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,777 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:44,779 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8207ms 204 
INFO  2025-04-03 15:46:44,781 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:46:44,783 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:46:44,785 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:46:44,786 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:44,791 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:46:44,796 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,802 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,813 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,823 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,828 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,839 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,851 [42   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:46:44,854 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,855 [42   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.8876ms
INFO  2025-04-03 15:46:44,857 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:46:44,858 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.5782ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:46:44,862 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,874 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,887 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,895 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,907 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,919 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,925 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,935 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,948 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,955 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,968 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:44,979 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:44,987 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:44,998 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,010 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,017 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,029 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,042 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,049 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,059 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,072 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,080 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,092 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,106 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,113 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,124 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,137 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,145 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,158 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,170 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,176 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,188 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,208 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,222 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,235 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,242 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,252 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,265 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,272 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,283 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,297 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,304 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,316 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,329 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,336 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,348 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,359 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,370 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,381 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,395 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,401 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,411 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,423 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,430 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,451 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,473 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,479 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,489 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,503 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,511 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,522 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,536 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,543 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,555 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,567 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,574 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,585 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,597 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,604 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,616 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,628 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,636 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,649 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,662 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,668 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,680 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,694 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,701 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,714 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,727 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,735 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,747 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,759 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,765 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,775 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,789 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,798 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,809 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,822 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,829 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,842 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,857 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,863 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,875 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,889 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,897 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,913 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,927 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,933 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,945 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,959 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,967 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:45,977 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:45,991 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:45,999 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,010 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,023 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,031 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,043 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,055 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,062 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,073 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,091 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,098 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,110 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,124 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,130 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,142 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,189 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,198 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,214 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,228 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,234 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,245 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,258 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,265 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,276 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,289 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,301 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,314 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,328 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,335 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,347 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,359 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,367 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,378 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,391 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,397 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,410 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,423 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,430 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,441 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,453 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,462 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,474 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,487 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,494 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,507 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,520 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,526 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,539 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,551 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,559 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,572 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,584 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,592 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,604 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,617 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,624 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,636 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,650 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,657 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,669 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,682 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,689 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,701 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,714 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,721 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,731 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,744 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,750 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,761 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,774 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,781 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,794 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,808 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,815 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,829 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,842 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,850 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,861 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,874 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,881 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,892 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,906 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,912 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,923 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,936 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,944 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,956 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:46,969 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:46,976 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:46,987 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,000 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,006 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,018 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,031 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,038 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,050 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,063 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,070 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,082 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,096 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,104 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,117 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,131 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,139 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,153 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,171 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,182 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,199 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,215 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,227 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,239 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,254 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,271 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,290 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,306 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,318 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,332 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,347 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,356 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,369 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,382 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,391 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,405 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,421 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,432 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,449 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,468 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,482 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,501 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,516 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,522 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,535 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,549 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,556 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,568 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,582 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,590 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,602 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,615 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,623 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,635 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,648 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,656 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,667 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,679 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,686 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,700 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,715 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,725 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,737 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,750 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,757 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,770 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,784 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,791 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,803 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,817 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,826 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,837 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,851 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,858 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,870 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,884 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,891 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,904 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,918 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,930 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,942 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,954 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,962 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:47,975 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:47,991 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:47,998 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,012 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,027 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,034 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,050 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,065 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,074 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,088 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,101 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,108 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,119 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,133 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,139 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,152 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,166 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,172 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,184 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,196 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,202 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,217 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,230 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,237 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,252 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,264 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,271 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,283 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,297 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,304 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,319 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,332 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,338 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,351 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,364 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,371 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,384 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,397 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,404 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,417 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,429 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,435 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,447 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,460 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,466 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,481 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,496 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,502 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,515 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,529 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,535 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,549 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,564 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,570 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,584 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,597 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,605 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,618 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,631 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,639 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,652 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,666 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,673 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,684 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,697 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,706 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,717 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,732 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,740 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,753 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,767 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,776 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,789 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,802 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,810 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,825 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,840 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,848 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,861 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,875 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,882 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,895 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,911 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,917 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,930 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,944 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,952 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,964 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:48,979 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:48,985 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:48,998 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,014 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,020 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,033 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,048 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,055 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,067 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,080 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,086 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,098 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,110 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,117 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,130 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,143 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,150 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,162 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,176 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,181 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,192 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,206 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,214 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,229 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,242 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,249 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,262 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,277 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,283 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,296 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,311 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,317 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,335 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,349 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,356 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,369 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,383 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,397 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,421 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,434 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,441 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,455 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,468 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,473 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,487 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,500 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,507 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,534 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,542 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,556 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,570 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,576 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,590 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,604 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,613 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,640 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,647 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,660 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,674 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,683 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,696 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,710 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,715 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,734 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,747 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,753 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,765 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,779 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,786 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,799 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,813 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,819 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,834 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,849 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,857 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,870 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,883 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,890 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,902 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,916 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,923 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,936 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,956 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,964 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:49,977 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:49,990 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:49,997 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,012 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,026 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,032 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,046 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,062 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,069 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,081 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,096 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,103 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,115 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,130 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,136 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,150 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,165 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,174 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,188 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,203 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,213 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,225 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,240 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,248 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,262 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,277 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,283 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,297 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,317 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,326 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,340 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,356 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,367 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,380 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,394 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,402 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,415 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,429 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,436 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,448 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,462 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,472 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,485 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,499 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,508 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,523 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,537 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,544 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,557 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,572 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,578 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,593 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,609 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,615 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,629 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,644 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,651 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,663 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,677 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,683 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,698 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,713 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,721 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,735 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,751 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,760 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,776 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,793 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,799 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,813 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,827 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,834 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,848 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,862 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,868 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,881 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,896 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,903 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,917 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,937 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,949 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,964 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:50,970 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:50,984 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:50,999 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,006 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,020 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,036 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,043 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,059 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,073 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,079 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,092 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,107 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,114 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,128 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,142 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,148 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,162 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,176 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,184 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,195 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,210 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,218 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,230 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,245 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,252 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,265 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,279 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,288 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,301 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,317 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,324 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,339 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,354 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,361 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,375 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,392 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,400 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,414 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,428 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,436 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,451 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,465 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,472 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,486 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,502 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,511 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,526 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,542 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,549 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,563 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,578 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,585 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,598 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,613 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,620 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,633 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,649 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,655 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,669 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,684 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,691 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,703 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,717 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,724 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,738 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,752 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,758 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,772 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,790 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,803 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,817 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,832 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,838 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,853 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,867 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,873 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,887 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,911 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,919 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,934 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,949 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,957 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:51,971 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:51,986 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:51,992 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,006 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,021 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,027 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,040 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,054 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,066 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,079 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,094 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,101 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,115 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,133 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,140 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,154 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,169 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,176 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,189 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,205 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,212 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,227 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,244 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,252 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,267 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,284 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,293 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,308 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,324 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,330 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,346 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,361 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,367 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,382 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,396 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,405 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,418 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,437 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,447 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,460 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,476 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,483 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,497 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,512 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,537 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,552 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,560 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,575 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,590 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,597 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,611 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,633 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,647 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,667 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,674 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,688 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,703 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,711 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,726 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,742 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,753 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,768 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,784 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,792 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,807 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,827 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,837 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,851 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,867 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,876 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,890 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,905 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,911 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,929 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,944 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,951 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:52,965 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:52,983 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:52,990 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,006 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,021 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,030 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,049 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,067 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,073 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,087 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,103 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,111 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,125 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,140 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,147 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,167 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,182 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,190 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,204 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,219 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,227 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,241 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,258 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,265 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,280 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,295 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,303 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,318 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,339 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,347 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,364 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,380 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,387 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,401 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,418 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,426 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,440 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,454 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,461 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,474 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,489 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,496 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,510 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,527 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,535 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,550 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,572 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,588 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,604 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,612 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,646 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,653 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,667 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,684 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,692 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,705 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,721 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,728 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,748 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,765 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,772 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,785 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,802 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,810 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,825 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,842 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,850 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,866 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,884 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,891 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,906 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,920 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,928 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,943 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:53,959 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:53,967 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:53,982 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,000 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,006 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,024 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,039 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,048 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,065 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,080 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,088 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,102 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,118 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,124 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,141 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,158 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,165 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,180 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,195 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,203 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,217 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,233 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,240 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,259 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,275 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,284 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,298 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,314 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,321 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,336 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,353 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,363 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,379 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,396 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,403 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,419 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,435 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,443 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,458 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,472 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,481 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,495 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,511 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,536 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,553 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,572 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,619 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,640 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,657 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,665 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,679 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,694 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,701 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,715 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,732 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,741 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,756 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,774 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,784 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,799 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,816 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,822 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,835 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,852 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,858 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,873 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,887 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,893 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,907 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,923 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,928 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,943 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,957 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,964 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:54,978 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:54,994 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:54,999 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,013 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,031 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,036 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,050 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,065 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,071 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,085 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,100 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,107 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,121 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,136 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,142 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,156 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,173 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,181 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,196 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,212 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,219 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,234 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,250 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,256 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,270 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,287 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,296 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,311 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,326 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,332 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,350 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,366 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,373 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,389 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,406 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,412 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,426 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,442 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,447 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,462 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,477 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,489 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,503 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,524 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,539 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,553 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,560 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,574 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,589 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,595 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,610 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,627 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,632 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,647 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,662 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,668 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,682 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,697 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,702 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,717 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,732 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,737 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,750 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,766 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,774 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,789 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,805 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,814 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,828 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,847 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,856 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,870 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,886 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,907 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,922 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,941 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,951 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:55,967 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:55,983 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:55,996 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,012 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,029 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,041 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,060 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,077 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,084 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,099 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,118 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,124 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,139 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,157 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,165 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,180 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,197 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,206 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,221 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,238 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,250 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,267 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,284 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,291 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,307 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,324 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,332 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,347 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,364 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,370 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,388 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,405 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,414 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,431 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,450 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,458 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,475 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,494 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,501 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,536 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,542 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,557 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,574 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,580 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,596 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,616 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,624 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,639 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,656 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,663 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,679 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,695 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,701 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,716 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,732 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,739 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,756 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,781 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,788 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,802 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,820 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,828 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,843 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,859 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,866 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,884 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,903 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,910 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,926 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,943 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,950 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:56,965 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:56,983 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:56,989 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,003 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,020 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,027 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,042 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,058 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,066 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,080 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,096 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,104 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,120 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,137 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,143 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,158 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,174 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,182 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,197 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,215 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,223 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,240 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,256 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,263 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,280 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,297 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,304 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,319 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,336 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,343 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,373 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,391 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,399 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,415 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,438 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,445 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,461 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,478 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,485 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,501 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,518 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,525 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,541 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,558 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,567 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,583 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,604 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,612 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,626 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,642 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,649 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,665 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,683 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,690 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,706 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,724 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,733 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,750 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,769 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,776 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,793 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,810 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,818 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,834 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,850 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,858 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,874 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,891 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,898 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,914 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,931 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,937 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,953 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:57,970 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:57,978 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:57,995 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,013 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,023 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,040 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,059 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,067 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,083 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,100 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,107 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,123 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,140 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,151 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,167 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,183 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,191 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,210 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,228 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,235 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,252 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,270 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,277 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,293 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,310 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,317 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,334 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,355 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,365 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,382 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,401 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,409 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,425 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,446 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,458 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,474 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,492 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,499 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,516 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,534 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,543 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,559 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,578 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,586 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,620 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,642 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,662 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,668 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,684 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,702 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,712 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,728 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,745 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,752 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,769 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,787 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,793 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,809 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,826 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,833 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,850 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,869 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,875 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,892 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,909 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,916 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,948 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:58,958 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:58,973 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:58,993 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,000 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,016 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,036 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,043 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,059 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,078 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,089 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,107 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,125 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,132 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,149 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,167 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,178 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,195 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,214 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,221 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,239 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,257 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,266 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,283 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,301 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,307 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,324 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,344 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,352 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,369 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,385 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,392 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,408 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,425 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,433 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,450 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,467 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,475 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,491 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,509 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,517 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,534 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,551 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,558 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,577 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,594 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,602 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,622 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,639 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,647 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,664 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,688 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,695 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,710 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,729 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,737 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,755 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,772 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,781 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,806 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,824 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,833 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,851 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,868 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,876 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,893 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,910 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,920 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,937 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,954 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:46:59,962 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:46:59,978 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:46:59,995 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,002 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,022 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,039 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,047 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,063 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,079 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,088 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,105 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,122 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,129 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,145 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,163 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,171 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,190 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,208 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,218 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,235 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,255 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,262 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,279 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,299 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,307 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,326 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,344 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,355 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,376 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,393 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,403 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,421 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,439 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,447 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,465 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,485 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,493 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,511 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,529 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,538 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,557 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,578 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,586 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,608 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,640 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,652 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,681 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,704 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,715 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,734 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,755 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,765 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,783 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,801 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,811 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,828 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,846 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,853 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,873 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,890 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,897 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,914 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,938 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,955 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:00,973 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:00,981 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:00,998 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,017 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,026 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,043 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,061 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,071 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,087 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,108 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,115 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,131 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,150 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,158 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,175 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,193 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,202 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,223 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,240 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,248 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,265 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,284 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,293 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,311 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,328 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,336 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,353 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,371 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,380 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,397 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,415 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,429 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,446 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,463 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,471 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,489 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,510 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,519 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,536 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,555 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,562 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,582 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,601 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,610 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,633 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,652 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,661 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,677 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,695 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,702 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,718 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,737 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,752 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,771 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,791 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,800 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,818 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,838 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,845 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,862 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,883 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,891 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,908 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,928 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,940 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:01,957 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:01,975 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:01,983 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,000 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,018 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,027 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,046 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,064 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,073 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,092 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,112 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,121 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,139 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,159 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,168 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,185 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,203 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,211 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,228 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,247 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,256 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,274 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,293 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,301 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,318 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,335 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,342 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,360 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,379 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,387 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,404 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,424 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,433 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,450 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,469 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,480 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,497 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,515 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,523 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,540 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,559 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,567 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,587 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,605 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,615 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,634 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,655 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,664 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,681 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,698 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,705 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,723 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,744 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,753 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,772 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,796 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,811 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,838 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,861 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,869 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,888 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,907 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,915 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,932 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:02,952 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:02,963 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:02,981 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,000 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,008 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,026 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,045 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,056 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,076 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,095 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,107 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,125 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,144 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,152 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,169 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,188 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,199 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,216 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,235 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,245 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,263 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,284 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,292 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,310 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,329 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,339 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,356 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,375 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,383 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,401 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,419 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,427 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,444 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,463 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,475 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,495 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,517 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,527 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,544 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,564 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,574 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,591 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,611 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,623 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,640 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,658 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,665 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,684 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,704 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,716 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,743 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,764 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,776 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,794 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,813 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,821 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,860 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,869 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,888 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,907 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,916 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,935 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:03,957 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:03,965 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:03,987 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,009 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,018 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,038 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,057 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,070 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,092 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,114 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,125 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,145 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,167 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,176 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,196 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,217 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,227 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,248 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,270 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,279 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,299 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,324 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,331 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,355 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,376 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,384 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,404 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,426 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,439 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,459 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,478 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,487 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,511 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,533 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,546 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,588 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,626 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,651 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,663 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,683 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,708 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,721 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,741 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,763 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,773 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,782 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:47:04,784 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:04,786 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5996ms 204 
INFO  2025-04-03 15:47:04,788 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:47:04,790 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:04,791 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:47:04,793 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:04,800 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:47:04,823 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,847 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,854 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,872 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:47:04,874 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.3929ms
INFO  2025-04-03 15:47:04,876 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:04,878 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,881 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.0326ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:47:04,903 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,915 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,936 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:04,958 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:04,967 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:04,987 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,007 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,016 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,036 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,056 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,064 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,082 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,099 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,106 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,123 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,140 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,148 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,166 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,185 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,199 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,258 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,278 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,286 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,304 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,323 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,333 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,351 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,370 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,380 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,397 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,414 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,424 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,441 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,461 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,470 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,489 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,508 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,514 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,534 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,555 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,563 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,581 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,601 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,611 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,629 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,649 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,657 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,675 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,693 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,704 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,722 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,740 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,748 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,766 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,786 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,795 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,813 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,830 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,856 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,875 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,882 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,902 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,923 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,934 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,953 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:05,973 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:05,981 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:05,998 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,017 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,030 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,049 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,069 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,078 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,097 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,118 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,126 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,145 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,165 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,174 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,192 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,210 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,217 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,238 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,258 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,267 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,287 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,309 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,318 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,342 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,364 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,374 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,392 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,411 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,427 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,447 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,471 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,479 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,506 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,527 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,535 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,554 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,573 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,587 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,628 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,650 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,658 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,676 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,697 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,707 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,725 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,745 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,753 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,772 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,793 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,802 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,819 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,844 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,861 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,879 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,898 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,910 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,928 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,950 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:06,958 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:06,976 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:06,997 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,006 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,024 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,045 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,054 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,072 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,092 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,100 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,122 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,143 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,157 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (28ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,535 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (319ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,547 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,586 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,595 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,615 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,634 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,643 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,660 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,689 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,700 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,718 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,741 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,749 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,769 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,794 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,812 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,844 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,864 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,874 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,893 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,917 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,925 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,943 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:07,968 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:07,978 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:07,998 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,017 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,026 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,045 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,065 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,075 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,093 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,114 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,128 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,147 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,167 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,177 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,195 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,218 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,226 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,246 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,266 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,276 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,295 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,316 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,325 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,343 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,368 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,377 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,397 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,416 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,427 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,446 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,467 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,481 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,501 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,525 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,534 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,556 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,575 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,583 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,601 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,623 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,633 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,651 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,672 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,688 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,726 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,748 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,756 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,775 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,799 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,809 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,828 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,850 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,858 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,878 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,907 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,915 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,934 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:08,953 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:08,963 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:08,982 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,005 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,016 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,035 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,058 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,068 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,089 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,110 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,120 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,142 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,165 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,176 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,198 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,219 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,228 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,248 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,269 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,278 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,296 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,317 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,325 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,343 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,369 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,379 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,397 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,418 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,427 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,446 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,467 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,477 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,497 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,517 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,525 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,543 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,566 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,575 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,596 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,619 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,627 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,649 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,670 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,679 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,699 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,721 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,729 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,749 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,769 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,779 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,800 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,823 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,833 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,859 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,880 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,889 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,911 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,933 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:09,942 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:09,969 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:09,989 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,000 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,022 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,043 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,053 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,073 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,094 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,103 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,121 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,143 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,156 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,177 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,198 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,208 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,227 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,247 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,254 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,275 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,296 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,304 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,322 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,343 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,351 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,372 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,393 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,400 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,423 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,443 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,455 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,475 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,495 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,502 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,524 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,545 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,557 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,578 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,599 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,607 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,628 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,650 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,659 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,679 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,701 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,710 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,729 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,752 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,771 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,804 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,828 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,840 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,859 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,886 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,894 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,915 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,937 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,950 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:10,970 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:10,990 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:10,998 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,018 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,040 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,048 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,069 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,092 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,101 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,123 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,143 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,151 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,172 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,193 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,220 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,242 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,251 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,270 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,292 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,301 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,321 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,342 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,351 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,371 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,391 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,401 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,422 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,442 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,451 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,470 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,490 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,498 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,520 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,548 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,557 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,577 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,597 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,604 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,623 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,644 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,652 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,672 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,692 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,702 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,720 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,742 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,752 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,772 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,793 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,808 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,841 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,862 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,884 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,904 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,925 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,932 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:11,952 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:11,974 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:11,981 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,000 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,021 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,029 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,047 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,068 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,077 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,096 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,116 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,123 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,142 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,166 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,175 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,194 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,225 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,233 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,281 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,302 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,310 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,329 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,350 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,358 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,377 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,400 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,407 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,431 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,455 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,465 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,486 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,506 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,514 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,536 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,557 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,566 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,586 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,607 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,614 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,634 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,654 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,666 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,684 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,705 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,713 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,732 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,752 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,759 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,779 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,800 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,811 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,830 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,851 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,859 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,878 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,901 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,910 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,935 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:12,961 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:12,971 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:12,994 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,016 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,027 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,053 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,079 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,118 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (35ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,138 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,160 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,168 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,191 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,212 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,219 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,239 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,262 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,271 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,295 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,317 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,326 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,350 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,374 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,385 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,412 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,434 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,442 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,473 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,494 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,503 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,522 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,544 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,553 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,575 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,606 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,616 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,637 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,660 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,669 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,689 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,711 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,719 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,739 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,761 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,769 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,789 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,810 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,819 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,841 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,862 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,873 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,895 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,916 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,923 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,943 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:13,965 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:13,974 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:13,994 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,016 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,024 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,044 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,066 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,073 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,095 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,117 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,127 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,149 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,170 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,179 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,201 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,222 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,231 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,253 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,273 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,283 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,304 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,327 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,337 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,357 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,378 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,387 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,410 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,431 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,442 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,462 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,485 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,496 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,518 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,540 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,548 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,569 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,601 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,610 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,629 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,651 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,660 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,680 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,708 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,717 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,738 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,761 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,771 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,790 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,811 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,821 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,842 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,869 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,879 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,899 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,922 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:14,955 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:14,976 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:14,993 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,027 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,050 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,057 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,077 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,098 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,106 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,125 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,148 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,158 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,185 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,207 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,216 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,236 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,256 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,273 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,315 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,336 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,343 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,365 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,387 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,396 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,418 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,440 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,450 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,471 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,491 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,500 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,521 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,544 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,552 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,573 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,595 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,604 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,626 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,649 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,658 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,679 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,701 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,710 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,730 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,753 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,763 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,783 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,805 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,814 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,835 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,859 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,868 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,889 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,913 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,923 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,945 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:15,967 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:15,976 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:15,998 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,020 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,031 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,054 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,076 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,085 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,107 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,129 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,138 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,161 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,183 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,190 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,211 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,233 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,241 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,264 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,285 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,297 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,318 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,341 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,354 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,378 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,400 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,408 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,429 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,452 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,458 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,481 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,505 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,514 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,535 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,557 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,567 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,589 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,612 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,620 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,650 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,671 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,679 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,700 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,722 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,730 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,751 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,773 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,786 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,808 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,835 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,847 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,869 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,896 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,905 [7    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,925 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:16,949 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:16,957 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:16,979 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,001 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,008 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,030 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,051 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,058 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,078 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,101 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,108 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,129 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,150 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,158 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,179 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,201 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,211 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,231 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,254 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,263 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,288 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,310 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,320 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,340 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,363 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,374 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,395 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,420 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,429 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,450 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,473 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,486 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,508 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,530 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,540 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,562 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,586 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,599 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,622 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,644 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,654 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,677 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,700 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,712 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,734 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,757 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,766 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,787 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,813 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,823 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,844 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,867 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,879 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,901 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,924 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,936 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:17,961 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:17,982 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:17,990 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,011 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,035 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,044 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,066 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,089 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,099 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,122 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,146 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,156 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,177 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,204 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,216 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,240 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,263 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,277 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,315 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,339 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,351 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,376 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,398 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,412 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,452 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,475 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,485 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,507 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,532 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,540 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,562 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,585 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,596 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,619 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,641 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,651 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,676 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,703 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,714 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,735 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,758 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,767 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,789 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,811 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,819 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,841 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,864 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,873 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,895 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,919 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,927 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:18,947 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:18,971 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:18,979 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,001 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,023 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,032 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,053 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,076 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,085 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,107 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,132 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,141 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,163 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,186 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,195 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,220 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,245 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,254 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,276 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,298 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,314 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,338 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,361 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,370 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,389 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,411 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,421 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,444 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,475 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,502 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,522 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,545 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,553 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,575 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,597 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,605 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,626 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,648 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,664 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,703 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,726 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,735 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,755 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,777 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,785 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,807 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,830 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,861 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,883 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,893 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,914 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,935 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:19,944 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:19,967 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:19,991 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,009 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,049 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,077 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,089 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,116 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,142 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,153 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,178 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,208 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,222 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,243 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,265 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,272 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,293 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,317 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,327 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,350 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,373 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,381 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,403 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,426 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,435 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,456 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,479 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,487 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,510 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,534 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,542 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,564 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,588 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,595 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,619 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,642 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,652 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,674 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,696 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,704 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,726 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,748 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,757 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,778 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,800 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,809 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,836 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,860 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,870 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,892 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,917 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,926 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:20,952 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:20,977 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:20,987 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:21,008 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:21,032 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:21,042 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:21,065 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:21,088 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:21,096 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:21,117 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:21,142 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:21,152 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:21,173 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:21,197 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:47:21,205 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:47:21,229 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:47:21,391 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:47:21,393 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 42530.9498ms
INFO  2025-04-03 15:47:21,394 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:47:21,396 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 42556.5466ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:47:21,397 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 15:47:21,399 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:21,400 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2.9882ms 204 
INFO  2025-04-03 15:47:21,402 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 15:47:21,405 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:21,407 [35   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:47:21,410 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:47:21,416 [35   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 15:47:22,186 [7    ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:47:22,190 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:47:22,192 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 773.6588ms
INFO  2025-04-03 15:47:22,194 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:47:22,197 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 794.279ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:47:24,771 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:47:24,773 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:24,775 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1801ms 204 
INFO  2025-04-03 15:47:24,776 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:47:24,780 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:24,783 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:47:24,785 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:24,790 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:47:24,848 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:47:24,850 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 58.3683ms
INFO  2025-04-03 15:47:24,852 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:24,853 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.0498ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:47:44,787 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:47:44,790 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:44,815 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.5489ms 204 
INFO  2025-04-03 15:47:44,826 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:47:44,830 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:47:44,833 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:47:44,835 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:44,839 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:47:44,911 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:47:44,914 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.6136ms
INFO  2025-04-03 15:47:44,915 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:47:44,917 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 97.4584ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:48:04,780 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:48:04,782 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:04,784 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.1107ms 204 
INFO  2025-04-03 15:48:04,786 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:48:04,788 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:04,790 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:48:04,792 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:04,796 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:48:04,864 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:48:04,866 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 67.9444ms
INFO  2025-04-03 15:48:04,868 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:04,870 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 84.1325ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:48:10,687 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 15:48:10,689 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:10,691 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4353ms 204 
INFO  2025-04-03 15:48:10,695 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 15:48:10,697 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:10,699 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:48:10,701 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:48:10,705 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:48:18,151 [40   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:48:18,191 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 15:48:18,488 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (27ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 15:48:21,149 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,155 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,168 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,176 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,183 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,197 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,205 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,211 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,218 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,226 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,234 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,241 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,250 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,256 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,265 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,276 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,283 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,291 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,300 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,308 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,314 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,323 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,331 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,337 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,345 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,352 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,358 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,367 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,373 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,380 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,389 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,398 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,405 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,413 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,422 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,428 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,446 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,456 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,461 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,470 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,477 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,482 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,490 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,496 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,502 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,511 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,518 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,526 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,537 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,543 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,550 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,559 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,565 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,571 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,579 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,586 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,594 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,603 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,609 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,616 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,626 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,634 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,641 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,649 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,657 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,664 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,672 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,678 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,687 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,696 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,710 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,721 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,732 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,740 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,746 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,756 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,764 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,774 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,789 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,795 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,801 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,809 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,816 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,824 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,832 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,838 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,845 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,855 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,861 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,869 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,876 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,883 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,890 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,899 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,907 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,917 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,929 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,936 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,943 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,953 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,960 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,966 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,975 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:21,982 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:21,989 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:21,997 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,004 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,010 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,019 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,025 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,031 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,040 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,048 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,055 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,063 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,069 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,076 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,084 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,090 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,096 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,105 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,111 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,117 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,128 [9    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,136 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,142 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,151 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,158 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,186 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (23ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,195 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,206 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,213 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,222 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,234 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,243 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,249 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,256 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,265 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,274 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,282 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,291 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,299 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,307 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,326 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,334 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,343 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,351 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,359 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,368 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,376 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,390 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,399 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,406 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,412 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,426 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,436 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,444 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,452 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,459 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,469 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,477 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,488 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,494 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,504 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,511 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,519 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,528 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,537 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,544 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,554 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,561 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,579 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,587 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,594 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,602 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,609 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,616 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,626 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,634 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,647 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,660 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,669 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,675 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,685 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,692 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,700 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,710 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,723 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,731 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,739 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,745 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,753 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,760 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,766 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,777 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,785 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,792 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,800 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,806 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,814 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,822 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,833 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,840 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,850 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,856 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,862 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,870 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,876 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,884 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,893 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,908 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,918 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,924 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,940 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,949 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,959 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:22,972 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:22,983 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:22,996 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,011 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,025 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,056 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,076 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,093 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,112 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,134 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,155 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,176 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,199 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,223 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,249 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,275 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (23ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,298 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,324 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,349 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (22ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,374 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (22ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,401 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,421 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,446 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,470 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,485 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,492 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,500 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,506 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,513 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,519 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,524 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,529 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,536 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,541 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,550 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,556 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,561 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,566 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,573 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,578 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,583 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,590 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,595 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,600 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,607 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,612 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,618 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,624 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,630 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,635 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,642 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,648 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,656 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,664 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,670 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,678 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,686 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,691 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,697 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,704 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,709 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,715 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,721 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,727 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,732 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,740 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,745 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,752 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,761 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,767 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,774 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,782 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,788 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,793 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,800 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,806 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,811 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,819 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,825 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,830 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,837 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,842 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,848 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,857 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,862 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,876 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,884 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,891 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,896 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,904 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,910 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,916 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,923 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,929 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,934 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,941 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,947 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,955 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,962 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,967 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,972 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,980 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:23,985 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:23,990 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:23,997 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,002 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,007 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,015 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,020 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,025 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,032 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,038 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,043 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,050 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,057 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,063 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,070 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,075 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,080 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,087 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,093 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,100 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,107 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,112 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,117 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,124 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,129 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,134 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,141 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,146 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,152 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,159 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,165 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,171 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,178 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,183 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,188 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,196 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,201 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,206 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,213 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,218 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,223 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,232 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,238 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,244 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,252 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,261 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,269 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,289 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,294 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,300 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,307 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,312 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,318 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,326 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,332 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,338 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,345 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,352 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,357 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,366 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,372 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,378 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,385 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,390 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,396 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,402 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,407 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,412 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,421 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,426 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,432 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,440 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,444 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,451 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,458 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,463 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,468 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,475 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,481 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,487 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,494 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,500 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,504 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,512 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,517 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,522 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,528 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,535 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,541 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,554 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,559 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,566 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,574 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,579 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,584 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,591 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,596 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,601 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,610 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,615 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,620 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,627 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,634 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,645 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,654 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,660 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,665 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,673 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,679 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,686 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,693 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,699 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,706 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,712 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,718 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,723 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,730 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,735 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,740 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,748 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,755 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,761 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,769 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,774 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,777 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:48:24,780 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:24,781 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,783 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2852ms 204 
INFO  2025-04-03 15:48:24,784 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:48:24,786 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:24,787 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:48:24,789 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:24,794 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:48:24,796 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,801 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,806 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,813 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,853 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,860 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,868 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,874 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,882 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,885 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:48:24,886 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 91.2329ms
INFO  2025-04-03 15:48:24,888 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:24,890 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.6745ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:48:24,892 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,897 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,903 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,909 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,914 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,919 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,927 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,933 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,939 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,947 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,953 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,961 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,968 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,973 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:24,978 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:24,989 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:24,995 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,002 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,011 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,017 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,022 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,029 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,035 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,040 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,049 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,054 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,059 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,066 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,072 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,079 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,087 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,093 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,099 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,106 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,111 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,117 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,124 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,135 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,143 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,149 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,154 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,162 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,167 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,175 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,190 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,198 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,206 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,215 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,221 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,230 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,236 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,242 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,251 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,259 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,266 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,276 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,282 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,296 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,305 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,311 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,318 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,326 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,334 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,340 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,349 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,355 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,363 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,375 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,381 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,390 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,399 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,406 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,413 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,421 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,438 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,448 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,457 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,463 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,481 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,488 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,496 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,505 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,512 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,522 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,531 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,537 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,543 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,557 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,563 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,578 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,586 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,595 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,604 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,611 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,619 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,628 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,637 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,645 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,653 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,659 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,666 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,677 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,685 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,691 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,700 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,707 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,714 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,724 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,730 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,738 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,747 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,754 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,760 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,769 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,777 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,785 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,795 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,805 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,812 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,821 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,835 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,844 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,853 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,860 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,868 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,878 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,890 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,897 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,907 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,915 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,921 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,937 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,945 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,956 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,962 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,971 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:25,981 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:25,992 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:25,998 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,008 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,019 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,025 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,034 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,047 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,055 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,072 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,080 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,087 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,096 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,106 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,113 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,121 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,129 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,146 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,154 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,162 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,170 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,180 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,186 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,193 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,202 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,212 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,218 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,235 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,246 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,255 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,265 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,271 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,279 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,284 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,290 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,297 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,303 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,310 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,325 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,342 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,347 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,362 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,371 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,375 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,381 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,389 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,395 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,401 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,408 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,414 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,420 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,429 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,435 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,447 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,453 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,459 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,467 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,487 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,492 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,498 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,505 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,511 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,516 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,556 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (34ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,582 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,604 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,621 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,637 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,647 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,654 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,663 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,672 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,677 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,682 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,690 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,695 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,702 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,710 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,715 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,721 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,731 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,736 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,743 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,752 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,758 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,764 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,772 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,777 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,785 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,802 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,810 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,815 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,824 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,830 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,836 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,844 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,850 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,857 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,865 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,870 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,875 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,884 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,889 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,894 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,907 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,912 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,920 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,925 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,931 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,938 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,945 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,953 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,962 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,968 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,974 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:26,981 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:26,986 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:26,992 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,001 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,006 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,011 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,019 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,024 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,031 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,038 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,045 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,053 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,070 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,075 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,084 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,090 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,098 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,107 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,113 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,120 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,129 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,136 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,143 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,157 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,164 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,169 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,189 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,197 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,208 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,214 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,223 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,245 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,254 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,264 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,270 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,277 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,286 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,298 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,306 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,314 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,324 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,329 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,338 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,344 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,351 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,359 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,365 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,370 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,378 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,384 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,393 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,402 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,407 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,414 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,422 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,451 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (27ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,463 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,486 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,494 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,506 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,515 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,522 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,527 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,535 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,542 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,549 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,564 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,575 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,584 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,589 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,595 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,604 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,610 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,615 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,624 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,629 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,636 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,650 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,655 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,661 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:27,669 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:27,678 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:27,994 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (312ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,002 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,007 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,014 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,021 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,027 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,033 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,042 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,049 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,055 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,063 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,069 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,076 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,085 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,090 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,096 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,105 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,110 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,118 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,133 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,139 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,146 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,155 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,163 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,170 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,179 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,185 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,191 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,200 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,207 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,213 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,222 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,229 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,235 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,244 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,251 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,257 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,265 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,270 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,275 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,284 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,290 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,295 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,303 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,310 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,316 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,327 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,332 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,338 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,349 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,356 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,362 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,369 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,375 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,381 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,389 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,394 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,400 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,408 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,413 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,424 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,433 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,445 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,453 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,459 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,465 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,473 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,480 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,488 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,495 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,501 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,507 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,516 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,521 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,527 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,537 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,543 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,549 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,556 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,581 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,587 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,601 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,608 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,614 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,623 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,628 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:28,636 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:28,644 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:28,684 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (30ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:29,615 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (921ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:29,623 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:29,628 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:29,633 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:29,641 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:29,648 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:29,656 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:29,679 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:29,685 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:29,690 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:29,721 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (25ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:29,727 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:29,733 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,149 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (405ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,159 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,165 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,173 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,178 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,185 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,193 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,200 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,208 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,216 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,239 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,248 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,262 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,269 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,278 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,284 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,290 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,299 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,304 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,310 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,317 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,323 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,329 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,337 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,342 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,348 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,356 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,362 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,367 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,376 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,382 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,387 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,396 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,401 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,407 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,415 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,421 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,426 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,434 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,440 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,445 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,454 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,461 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,466 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,475 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,481 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,487 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,495 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,501 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,508 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,518 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,525 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,533 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,543 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,550 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,557 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,566 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,572 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,578 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,588 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,594 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,601 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,611 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,619 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,626 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,634 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,640 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,646 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,655 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,661 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,666 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,679 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,685 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,693 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,699 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,705 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,714 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,720 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,728 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,737 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,744 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,751 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,761 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,767 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,772 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,780 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,786 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,793 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,802 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,812 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,818 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,828 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,834 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,841 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,850 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,856 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,863 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,871 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,876 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,882 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,890 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,895 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,900 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,908 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,913 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,920 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,929 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,936 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,942 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,950 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,959 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,965 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,973 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:30,980 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:30,986 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:30,994 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,000 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,007 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,016 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,022 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,027 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,045 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,051 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,060 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,065 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,071 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,079 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,084 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,094 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,103 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,109 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,114 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,132 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,143 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,151 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,156 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,162 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,170 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,180 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,186 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,194 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,199 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,207 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,215 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,221 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,227 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,235 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,240 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,249 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,258 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,263 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,269 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,280 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,286 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,292 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,300 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,307 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,316 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,326 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,333 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,341 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,349 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,355 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,362 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,369 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,381 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,388 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,396 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,401 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,407 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,414 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,420 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,426 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,434 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,447 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,459 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,466 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,480 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,486 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,509 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,516 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,524 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,533 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,541 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,549 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,558 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,565 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,574 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,583 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,594 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,604 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,622 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,629 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,647 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,655 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,663 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,671 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,677 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,685 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,694 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,701 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,711 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,719 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,727 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,734 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,745 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,751 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,759 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,767 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,774 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,782 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,794 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,800 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,808 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,817 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,825 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,833 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,842 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,849 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,856 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,866 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,873 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,880 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,889 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,895 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,901 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,923 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,931 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,937 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,946 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,953 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,961 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,969 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:31,982 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:31,989 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:31,999 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,006 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,013 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,022 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,029 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,035 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,044 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,052 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,060 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,068 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,076 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,083 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,091 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,099 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,106 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,115 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,123 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,131 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,139 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,152 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,158 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,167 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,173 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,180 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,191 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,198 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,205 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,214 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,220 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,227 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,236 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,243 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,250 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,258 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,264 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,270 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,279 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,285 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,292 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,302 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,308 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,315 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,334 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,347 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,359 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,370 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,377 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,384 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,395 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,402 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,409 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,417 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,424 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,431 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,446 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,452 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,461 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,468 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,477 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,486 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,492 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,509 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,516 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,523 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,533 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,541 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,547 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,556 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,568 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,577 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,584 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,601 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,608 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,617 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,634 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,642 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,650 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,659 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,666 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,682 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,689 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,696 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,705 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,712 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,719 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,728 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,735 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,745 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,755 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,761 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,768 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,777 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,783 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,792 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,801 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,808 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,816 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,825 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,833 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,841 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,850 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,856 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,865 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,875 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,882 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,889 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,897 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,911 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,922 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,938 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,961 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,971 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:32,977 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:32,986 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:32,996 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,003 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,009 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,018 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,033 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,041 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,051 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,057 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,072 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,087 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,095 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,102 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,112 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,118 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,127 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,135 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,142 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,150 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,159 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,166 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,176 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,191 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,197 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,206 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,213 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,219 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,227 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,233 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,246 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,255 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,265 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,273 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,283 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,289 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,295 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,303 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,312 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,331 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,339 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,348 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,357 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,365 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,373 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,382 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,390 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,399 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,410 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,418 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,426 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,435 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,445 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,456 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,464 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,471 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,483 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,492 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,507 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,517 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,525 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,534 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,543 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,553 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (35ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,605 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,621 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,634 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,646 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,657 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,666 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,678 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,689 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,700 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,708 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,726 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,734 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,742 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,751 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,767 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,774 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,786 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,797 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,807 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,816 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,824 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,831 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,841 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,857 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,868 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,877 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,887 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,897 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,906 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,916 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,933 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,945 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,955 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,966 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:33,975 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:33,985 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:33,997 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,007 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,014 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,021 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,030 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,037 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,044 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,053 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,061 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,068 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,077 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,085 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,100 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,122 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,137 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,145 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,158 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,166 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,188 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,199 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,208 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,218 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,227 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,235 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,245 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,256 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,266 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,276 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,287 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,297 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,315 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,326 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,344 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,354 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,363 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,370 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,376 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,385 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,400 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,407 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,416 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,424 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,433 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,442 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,449 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,455 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,464 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,470 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,477 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,486 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,493 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,502 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,512 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,522 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,533 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,544 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,554 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,561 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,577 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,585 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,594 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,602 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,610 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,620 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,626 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,633 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,647 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,654 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,664 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,681 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,688 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,697 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,706 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,713 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,723 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,730 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,737 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,746 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,756 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,766 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,776 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,784 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,793 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,802 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,809 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,817 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,827 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,837 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,844 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,853 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,861 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,869 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,879 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,886 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,892 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,911 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,917 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,933 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,940 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,946 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,956 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,961 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,967 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,976 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:34,982 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:34,987 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:34,997 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,002 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,010 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,024 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,029 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,035 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,044 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,050 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,058 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,071 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,079 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,091 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,100 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,108 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,118 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,129 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,135 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,141 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,149 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,155 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,163 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,173 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,182 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,188 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,201 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,208 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,218 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,229 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,235 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,243 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,253 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,259 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,267 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,280 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,288 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,295 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,305 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,311 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,320 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,333 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,340 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,347 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,359 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,366 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,372 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,382 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,388 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,394 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,403 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,409 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,414 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,423 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,429 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,436 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,444 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,450 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,458 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,469 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,475 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,489 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,498 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,504 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,510 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,519 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,526 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,532 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,541 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,548 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,560 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,581 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,594 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,605 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,619 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,630 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,635 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,644 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,656 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,664 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,676 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,684 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,692 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,703 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,712 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,719 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,729 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,738 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,745 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,755 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,761 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,767 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,775 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,782 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,788 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,797 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,803 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,809 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,819 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,824 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,834 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,844 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,859 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,866 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,875 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,881 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,888 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,897 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,902 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,909 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,923 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,936 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,963 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,976 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:35,983 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:35,989 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:35,999 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,007 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,016 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,027 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,034 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,042 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,054 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,059 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,076 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,086 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,095 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,108 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,136 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,142 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,159 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,165 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,173 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (48ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,233 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,262 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (26ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,272 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,279 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,290 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,306 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,313 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,318 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,328 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,341 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,353 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,360 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,365 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,376 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,382 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,389 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,398 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,403 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,410 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,420 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,426 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,432 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,441 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,447 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,454 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,464 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,469 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,476 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,487 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,495 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,527 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,841 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (311ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,868 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (23ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,888 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,896 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,904 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,914 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,923 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,932 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,943 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,949 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,955 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,965 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,971 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:36,977 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:36,987 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:36,994 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,001 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,010 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,016 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,022 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,032 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,038 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,045 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,054 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,059 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,066 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,075 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,081 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,087 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,096 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,101 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,107 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,117 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,122 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,134 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,147 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,153 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,163 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,174 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,183 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,191 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,201 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,207 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,216 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,226 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,236 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,249 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,259 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,267 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,282 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,292 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,303 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,311 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,321 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,328 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,335 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,344 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,359 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,370 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,379 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,386 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,394 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,404 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,412 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,421 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,432 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,442 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,453 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,463 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,470 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,480 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,489 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,498 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,506 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,515 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,522 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,530 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,541 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,547 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,554 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,564 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,571 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,580 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,590 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,598 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,609 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,618 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,626 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,634 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,644 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,650 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,658 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,668 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,676 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,684 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,693 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,703 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,711 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,727 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,735 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,741 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,751 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,757 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,764 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,775 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,785 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,794 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,805 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,812 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,820 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,830 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,838 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,848 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,860 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,867 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,874 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,885 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,895 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,915 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,922 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,940 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,947 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,964 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:37,972 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:37,981 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:37,992 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,002 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,011 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,022 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,032 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,044 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,054 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,061 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,069 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,079 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,095 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,107 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,116 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,127 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,148 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,161 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,176 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,187 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,198 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,210 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,220 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,243 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,253 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,268 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,278 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,288 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,299 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,307 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,318 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,324 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,332 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,345 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,352 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,359 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,369 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,376 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,384 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,395 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,401 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,407 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,417 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,424 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,432 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,441 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,447 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,453 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,462 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,469 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,474 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,489 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,496 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,504 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,515 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,524 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,530 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,539 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,548 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,556 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,565 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,578 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,587 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,594 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,599 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,617 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,626 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,632 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,641 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,650 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,658 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,668 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,680 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,690 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,698 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,709 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,719 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,725 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,732 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,743 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,753 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,763 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,773 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,780 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,787 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,797 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,805 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,813 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,823 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,830 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,837 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,847 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,854 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,861 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,871 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,879 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,887 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,899 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,905 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,913 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,922 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,929 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,936 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,945 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,951 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,958 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:38,975 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:38,983 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:38,991 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,001 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,006 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,013 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,022 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,028 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,036 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,046 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,053 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,059 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,068 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,074 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,083 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,093 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,099 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,105 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,118 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,126 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,133 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,147 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,159 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,167 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,178 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,187 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,206 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,220 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,229 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,237 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,247 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,256 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,266 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,280 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,292 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,305 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,322 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,334 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,347 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,362 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,377 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,392 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,406 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,427 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,446 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,462 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,470 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,477 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,487 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,495 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,503 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,513 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,523 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,533 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,543 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,551 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,586 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,596 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,604 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,615 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,624 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,633 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,640 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,650 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,657 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,664 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,676 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,689 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,698 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,708 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,720 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,730 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,740 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,748 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,756 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,766 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,774 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,786 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,796 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,803 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,821 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,853 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,860 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,869 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,879 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,888 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,895 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,911 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,918 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,932 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,942 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,953 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,965 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,973 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:39,982 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:39,991 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:39,998 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,004 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,014 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,022 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,031 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,047 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,052 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,063 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,069 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,075 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,086 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,093 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,099 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,110 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,116 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,122 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,133 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,142 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,150 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,161 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,167 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,172 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,182 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,190 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,198 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,208 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,214 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,221 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,237 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,244 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,254 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,260 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,266 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,275 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,282 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,289 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,298 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,304 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,311 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,324 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,331 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,342 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,354 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,360 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,367 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,378 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,385 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,391 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,403 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,409 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,421 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,431 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,439 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,452 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,463 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,480 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,490 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,496 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,503 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,513 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,519 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,526 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,536 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,542 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,552 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,564 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,575 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,586 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,599 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,619 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,625 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,636 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,644 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,651 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,662 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,670 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,679 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,689 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,696 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,702 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,715 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,722 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,730 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,743 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,754 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,761 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,771 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,779 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,786 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,797 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,804 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,810 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,820 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,826 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,833 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,843 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,853 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,861 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,870 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,877 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,885 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,896 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,921 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,927 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,933 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,943 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,955 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,967 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,974 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:40,981 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:40,991 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:40,997 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,004 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,014 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,022 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,028 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,039 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,051 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,063 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,070 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,076 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,086 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,092 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,098 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,109 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,115 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,123 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,133 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,139 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,146 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,158 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,164 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,196 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,205 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,212 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,240 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,251 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,261 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,272 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,282 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,293 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,309 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,341 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,355 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,366 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,374 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,383 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,395 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,402 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,409 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,420 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,426 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,433 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,442 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,449 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,456 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,468 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,486 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,497 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,505 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,511 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,522 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,532 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,542 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,555 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,576 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,601 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,611 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,622 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,632 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,639 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,646 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,656 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,664 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,672 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,682 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,689 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,697 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,707 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,715 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,722 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,733 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,740 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,747 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,758 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,765 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,774 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,786 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,796 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,803 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,814 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,821 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,827 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,837 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,844 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,856 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,870 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,880 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,888 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,898 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,921 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,927 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,932 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,943 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,959 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,972 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:41,984 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:41,992 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:41,998 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,009 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,016 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,024 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,034 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,050 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,061 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,070 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,078 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,089 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,096 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,102 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,115 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,121 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,128 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,139 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,146 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,152 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,165 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,171 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,187 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,194 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,201 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,212 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,220 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,227 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,237 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,244 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,251 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,261 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,268 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,275 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,292 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,298 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,306 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,318 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,324 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,332 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,344 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,354 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,362 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,372 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,379 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,393 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,403 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,410 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,417 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,427 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,433 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,451 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,458 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,466 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,485 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,493 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,504 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,511 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,518 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,528 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,536 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,545 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,556 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,569 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,581 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,588 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,599 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,609 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,619 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,628 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,638 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,644 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,652 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,662 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,672 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,681 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,691 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,701 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,709 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,720 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,730 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,741 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,763 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,780 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,795 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,814 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,825 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,837 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,849 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,863 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,875 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,886 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,893 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,900 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,921 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,932 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,944 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,955 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,966 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:42,977 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:42,986 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:42,993 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,002 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,012 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,024 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,035 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,085 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,099 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,108 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,120 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,137 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,147 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,159 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,167 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,192 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,202 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,214 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,222 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,232 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,240 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,246 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,257 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,268 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,276 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,286 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,297 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,304 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,315 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,341 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,357 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,365 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,373 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,384 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,391 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,398 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,411 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,420 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,427 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,438 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,445 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,453 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,465 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,472 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,479 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,489 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,497 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,506 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,518 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,527 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,535 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,545 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,560 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,575 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,586 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,592 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,600 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,610 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,617 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,629 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,643 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,655 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,663 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,673 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,681 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,688 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,700 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,705 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,710 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,721 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,726 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,735 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,747 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,752 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,758 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,769 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,774 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,780 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,791 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,797 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,802 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,815 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,821 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,826 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,838 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,843 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,851 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,866 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,875 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,882 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,892 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,908 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,918 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,925 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,931 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,941 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,947 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,953 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,965 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,970 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,976 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:43,986 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:43,992 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:43,998 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,008 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,014 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,021 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,032 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,057 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,070 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,084 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,091 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,097 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,107 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,113 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,118 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,131 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,144 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,155 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,161 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,166 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,177 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,190 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,200 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,208 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,217 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,227 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,239 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,244 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,256 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,262 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,269 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,281 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,287 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,294 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,304 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,310 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,316 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,328 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,335 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,342 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,352 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,359 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,367 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,379 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,388 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,397 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,409 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,415 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,422 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,434 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,442 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,448 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,460 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,469 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,477 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,488 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,495 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,504 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,515 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,521 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,527 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,539 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,545 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,553 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,564 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,572 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,579 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,591 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,599 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,606 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,618 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,626 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,637 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,648 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,654 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,661 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,673 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,682 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,688 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,700 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,706 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,712 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,725 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,730 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,737 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,748 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,754 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,760 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,771 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,778 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,783 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:48:44,785 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:44,787 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,789 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.6454ms 204 
INFO  2025-04-03 15:48:44,791 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:48:44,793 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:44,796 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:48:44,799 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:44,806 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:48:44,808 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,850 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (30ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,862 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,874 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,881 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,889 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,891 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:48:44,896 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 84.9696ms
INFO  2025-04-03 15:48:44,899 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:48:44,901 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 109.9823ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:48:44,911 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,919 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,929 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,941 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,964 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,971 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:44,978 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:44,988 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:44,997 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,005 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,017 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,027 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,036 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,048 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,056 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,067 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,079 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,087 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,104 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,138 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,145 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,160 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,172 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,179 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,196 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,225 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,236 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,246 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,258 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,268 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,274 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,285 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,297 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,309 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,321 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,331 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,338 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,348 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,357 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,365 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,376 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,383 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,390 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,402 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,409 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,415 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,427 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,435 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,443 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,454 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,460 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,468 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,478 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,491 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,497 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,509 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,515 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,524 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,536 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,548 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,561 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,572 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,579 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,589 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,600 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,611 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,619 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,629 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,637 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,644 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,656 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,663 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,672 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,687 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,697 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,707 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,718 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,725 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,733 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,744 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,752 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,759 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,770 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,776 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,783 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,793 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,800 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,811 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,823 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,830 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,836 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,847 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,855 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,862 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,875 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,882 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,889 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,900 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,907 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,914 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,925 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,933 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,941 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,953 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,960 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:45,968 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:45,979 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:45,986 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,000 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,017 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,025 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,031 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,045 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,052 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,063 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,076 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,085 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,091 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,104 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,111 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,119 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,131 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,138 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,147 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,159 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,170 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,184 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,198 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,210 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,217 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,228 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,238 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,249 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,273 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,288 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,297 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,313 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,322 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,344 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,362 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,371 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,388 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,399 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,409 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,421 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,428 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,436 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,447 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,454 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,463 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,474 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,485 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,497 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,509 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,520 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,531 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,543 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,550 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,557 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,588 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (22ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,598 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,648 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (41ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,669 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,677 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,684 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,695 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,703 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,712 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,724 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,731 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,737 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,750 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,759 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,766 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,778 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,785 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,792 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,804 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,814 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,822 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,834 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,840 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,848 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,860 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,871 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,878 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,890 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,922 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,929 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,939 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,952 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,963 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,970 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:46,981 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:46,991 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:46,999 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,010 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,018 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,026 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,038 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,054 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,065 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,072 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,080 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,091 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,099 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,106 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,120 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,129 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,150 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,160 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,170 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,184 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,192 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,201 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,214 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,221 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,230 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,241 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,252 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,260 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,576 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (306ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,584 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,609 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,931 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (313ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,943 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,950 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,961 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,968 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:47,975 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:47,987 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:47,995 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,002 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,013 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,022 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,030 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,041 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,048 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,057 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,070 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,078 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,084 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,095 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,103 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,110 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,121 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,129 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,138 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,149 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,157 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,166 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,176 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,187 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,199 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,210 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,217 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,224 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,235 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,241 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,247 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,259 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,265 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,275 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,285 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,291 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,297 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,309 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,315 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,320 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,332 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,338 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,343 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,354 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,360 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,366 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,378 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,387 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,394 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,405 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,411 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,419 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,430 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,436 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,442 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,453 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,460 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,467 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,480 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,486 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,492 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,503 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,510 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,518 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,532 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,538 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,545 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,557 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,563 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,569 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,581 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,591 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,599 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,611 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,620 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,625 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,642 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,648 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,656 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,667 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,674 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,680 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,692 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,699 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,704 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,716 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,721 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,727 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,741 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,747 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,754 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,765 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,772 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,779 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,790 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,797 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,803 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,814 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,820 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,827 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,838 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,847 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,854 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,866 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,876 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,882 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,893 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,899 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,907 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,920 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,927 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,933 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,947 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,958 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,965 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:48,976 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:48,982 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:48,990 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,002 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,010 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,017 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,030 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,043 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,059 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,072 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,081 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,090 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,106 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,117 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,128 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,140 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,153 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,164 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,176 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,183 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,189 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,202 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,212 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,223 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,235 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,244 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,249 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,262 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,273 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,281 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,292 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,299 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,308 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,321 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,328 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,334 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,345 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,358 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,365 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,376 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,383 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,395 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,407 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,417 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,424 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,437 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,446 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,456 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,467 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,477 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,485 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,498 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,505 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,513 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,526 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,531 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,539 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,552 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,562 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,572 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,585 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,592 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,598 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,610 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,617 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,623 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,637 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,644 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,653 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,665 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,673 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,679 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,691 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,697 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,705 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,716 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,722 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,729 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,742 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,750 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,775 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,787 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,794 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,804 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,826 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:48:49,840 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:48:49,849 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:48:49,960 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64), @p1787='?' (DbType = Int32), @p1782='?' (DbType = Int32), @p1783='?' (DbType = Boolean), @p1784='?' (DbType = Boolean), @p1785='?' (Size = 4000), @p1786='?' (DbType = Int64), @p1793='?' (DbType = Int32), @p1788='?' (DbType = Int32), @p1789='?' (DbType = Boolean), @p1790='?' (DbType = Boolean), @p1791='?' (Size = 4000), @p1792='?' (DbType = Int64), @p1799='?' (DbType = Int32), @p1794='?' (DbType = Int32), @p1795='?' (DbType = Boolean), @p1796='?' (DbType = Boolean), @p1797='?' (Size = 4000), @p1798='?' (DbType = Int64), @p1805='?' (DbType = Int32), @p1800='?' (DbType = Int32), @p1801='?' (DbType = Boolean), @p1802='?' (DbType = Boolean), @p1803='?' (Size = 4000), @p1804='?' (DbType = Int64), @p1811='?' (DbType = Int32), @p1806='?' (DbType = Int32), @p1807='?' (DbType = Boolean), @p1808='?' (DbType = Boolean), @p1809='?' (Size = 4000), @p1810='?' (DbType = Int64), @p1817='?' (DbType = Int32), @p1812='?' (DbType = Int32), @p1813='?' (DbType = Boolean), @p1814='?' (DbType = Boolean), @p1815='?' (Size = 4000), @p1816='?' (DbType = Int64), @p1823='?' (DbType = Int32), @p1818='?' (DbType = Int32), @p1819='?' (DbType = Boolean), @p1820='?' (DbType = Boolean), @p1821='?' (Size = 4000), @p1822='?' (DbType = Int64), @p1829='?' (DbType = Int32), @p1824='?' (DbType = Int32), @p1825='?' (DbType = Boolean), @p1826='?' (DbType = Boolean), @p1827='?' (Size = 4000), @p1828='?' (DbType = Int64), @p1835='?' (DbType = Int32), @p1830='?' (DbType = Int32), @p1831='?' (DbType = Boolean), @p1832='?' (DbType = Boolean), @p1833='?' (Size = 4000), @p1834='?' (DbType = Int64), @p1841='?' (DbType = Int32), @p1836='?' (DbType = Int32), @p1837='?' (DbType = Boolean), @p1838='?' (DbType = Boolean), @p1839='?' (Size = 4000), @p1840='?' (DbType = Int64), @p1847='?' (DbType = Int32), @p1842='?' (DbType = Int32), @p1843='?' (DbType = Boolean), @p1844='?' (DbType = Boolean), @p1845='?' (Size = 4000), @p1846='?' (DbType = Int64), @p1853='?' (DbType = Int32), @p1848='?' (DbType = Int32), @p1849='?' (DbType = Boolean), @p1850='?' (DbType = Boolean), @p1851='?' (Size = 4000), @p1852='?' (DbType = Int64), @p1859='?' (DbType = Int32), @p1854='?' (DbType = Int32), @p1855='?' (DbType = Boolean), @p1856='?' (DbType = Boolean), @p1857='?' (Size = 4000), @p1858='?' (DbType = Int64), @p1865='?' (DbType = Int32), @p1860='?' (DbType = Int32), @p1861='?' (DbType = Boolean), @p1862='?' (DbType = Boolean), @p1863='?' (Size = 4000), @p1864='?' (DbType = Int64), @p1871='?' (DbType = Int32), @p1866='?' (DbType = Int32), @p1867='?' (DbType = Boolean), @p1868='?' (DbType = Boolean), @p1869='?' (Size = 4000), @p1870='?' (DbType = Int64), @p1877='?' (DbType = Int32), @p1872='?' (DbType = Int32), @p1873='?' (DbType = Boolean), @p1874='?' (DbType = Boolean), @p1875='?' (Size = 4000), @p1876='?' (DbType = Int64), @p1883='?' (DbType = Int32), @p1878='?' (DbType = Int32), @p1879='?' (DbType = Boolean), @p1880='?' (DbType = Boolean), @p1881='?' (Size = 4000), @p1882='?' (DbType = Int64), @p1889='?' (DbType = Int32), @p1884='?' (DbType = Int32), @p1885='?' (DbType = Boolean), @p1886='?' (DbType = Boolean), @p1887='?' (Size = 4000), @p1888='?' (DbType = Int64), @p1895='?' (DbType = Int32), @p1890='?' (DbType = Int32), @p1891='?' (DbType = Boolean), @p1892='?' (DbType = Boolean), @p1893='?' (Size = 4000), @p1894='?' (DbType = Int64), @p1901='?' (DbType = Int32), @p1896='?' (DbType = Int32), @p1897='?' (DbType = Boolean), @p1898='?' (DbType = Boolean), @p1899='?' (Size = 4000), @p1900='?' (DbType = Int64), @p1907='?' (DbType = Int32), @p1902='?' (DbType = Int32), @p1903='?' (DbType = Boolean), @p1904='?' (DbType = Boolean), @p1905='?' (Size = 4000), @p1906='?' (DbType = Int64), @p1913='?' (DbType = Int32), @p1908='?' (DbType = Int32), @p1909='?' (DbType = Boolean), @p1910='?' (DbType = Boolean), @p1911='?' (Size = 4000), @p1912='?' (DbType = Int64), @p1919='?' (DbType = Int32), @p1914='?' (DbType = Int32), @p1915='?' (DbType = Boolean), @p1916='?' (DbType = Boolean), @p1917='?' (Size = 4000), @p1918='?' (DbType = Int64), @p1925='?' (DbType = Int32), @p1920='?' (DbType = Int32), @p1921='?' (DbType = Boolean), @p1922='?' (DbType = Boolean), @p1923='?' (Size = 4000), @p1924='?' (DbType = Int64), @p1931='?' (DbType = Int32), @p1926='?' (DbType = Int32), @p1927='?' (DbType = Boolean), @p1928='?' (DbType = Boolean), @p1929='?' (Size = 4000), @p1930='?' (DbType = Int64), @p1937='?' (DbType = Int32), @p1932='?' (DbType = Int32), @p1933='?' (DbType = Boolean), @p1934='?' (DbType = Boolean), @p1935='?' (Size = 4000), @p1936='?' (DbType = Int64), @p1943='?' (DbType = Int32), @p1938='?' (DbType = Int32), @p1939='?' (DbType = Boolean), @p1940='?' (DbType = Boolean), @p1941='?' (Size = 4000), @p1942='?' (DbType = Int64), @p1949='?' (DbType = Int32), @p1944='?' (DbType = Int32), @p1945='?' (DbType = Boolean), @p1946='?' (DbType = Boolean), @p1947='?' (Size = 4000), @p1948='?' (DbType = Int64), @p1955='?' (DbType = Int32), @p1950='?' (DbType = Int32), @p1951='?' (DbType = Boolean), @p1952='?' (DbType = Boolean), @p1953='?' (Size = 4000), @p1954='?' (DbType = Int64), @p1961='?' (DbType = Int32), @p1956='?' (DbType = Int32), @p1957='?' (DbType = Boolean), @p1958='?' (DbType = Boolean), @p1959='?' (Size = 4000), @p1960='?' (DbType = Int64), @p1967='?' (DbType = Int32), @p1962='?' (DbType = Int32), @p1963='?' (DbType = Boolean), @p1964='?' (DbType = Boolean), @p1965='?' (Size = 4000), @p1966='?' (DbType = Int64), @p1973='?' (DbType = Int32), @p1968='?' (DbType = Int32), @p1969='?' (DbType = Boolean), @p1970='?' (DbType = Boolean), @p1971='?' (Size = 4000), @p1972='?' (DbType = Int64), @p1979='?' (DbType = Int32), @p1974='?' (DbType = Int32), @p1975='?' (DbType = Boolean), @p1976='?' (DbType = Boolean), @p1977='?' (Size = 4000), @p1978='?' (DbType = Int64), @p1985='?' (DbType = Int32), @p1980='?' (DbType = Int32), @p1981='?' (DbType = Boolean), @p1982='?' (DbType = Boolean), @p1983='?' (Size = 4000), @p1984='?' (DbType = Int64), @p1991='?' (DbType = Int32), @p1986='?' (DbType = Int32), @p1987='?' (DbType = Boolean), @p1988='?' (DbType = Boolean), @p1989='?' (Size = 4000), @p1990='?' (DbType = Int64), @p1997='?' (DbType = Int32), @p1992='?' (DbType = Int32), @p1993='?' (DbType = Boolean), @p1994='?' (DbType = Boolean), @p1995='?' (Size = 4000), @p1996='?' (DbType = Int64), @p2003='?' (DbType = Int32), @p1998='?' (DbType = Int32), @p1999='?' (DbType = Boolean), @p2000='?' (DbType = Boolean), @p2001='?' (Size = 4000), @p2002='?' (DbType = Int64), @p2009='?' (DbType = Int32), @p2004='?' (DbType = Int32), @p2005='?' (DbType = Boolean), @p2006='?' (DbType = Boolean), @p2007='?' (Size = 4000), @p2008='?' (DbType = Int64), @p2015='?' (DbType = Int32), @p2010='?' (DbType = Int32), @p2011='?' (DbType = Boolean), @p2012='?' (DbType = Boolean), @p2013='?' (Size = 4000), @p2014='?' (DbType = Int64), @p2021='?' (DbType = Int32), @p2016='?' (DbType = Int32), @p2017='?' (DbType = Boolean), @p2018='?' (DbType = Boolean), @p2019='?' (Size = 4000), @p2020='?' (DbType = Int64), @p2027='?' (DbType = Int32), @p2022='?' (DbType = Int32), @p2023='?' (DbType = Boolean), @p2024='?' (DbType = Boolean), @p2025='?' (Size = 4000), @p2026='?' (DbType = Int64), @p2033='?' (DbType = Int32), @p2028='?' (DbType = Int32), @p2029='?' (DbType = Boolean), @p2030='?' (DbType = Boolean), @p2031='?' (Size = 4000), @p2032='?' (DbType = Int64), @p2039='?' (DbType = Int32), @p2034='?' (DbType = Int32), @p2035='?' (DbType = Boolean), @p2036='?' (DbType = Boolean), @p2037='?' (Size = 4000), @p2038='?' (DbType = Int64), @p2045='?' (DbType = Int32), @p2040='?' (DbType = Int32), @p2041='?' (DbType = Boolean), @p2042='?' (DbType = Boolean), @p2043='?' (Size = 4000), @p2044='?' (DbType = Int64), @p2051='?' (DbType = Int32), @p2046='?' (DbType = Int32), @p2047='?' (DbType = Boolean), @p2048='?' (DbType = Boolean), @p2049='?' (Size = 4000), @p2050='?' (DbType = Int64), @p2057='?' (DbType = Int32), @p2052='?' (DbType = Int32), @p2053='?' (DbType = Boolean), @p2054='?' (DbType = Boolean), @p2055='?' (Size = 4000), @p2056='?' (DbType = Int64), @p2063='?' (DbType = Int32), @p2058='?' (DbType = Int32), @p2059='?' (DbType = Boolean), @p2060='?' (DbType = Boolean), @p2061='?' (Size = 4000), @p2062='?' (DbType = Int64), @p2069='?' (DbType = Int32), @p2064='?' (DbType = Int32), @p2065='?' (DbType = Boolean), @p2066='?' (DbType = Boolean), @p2067='?' (Size = 4000), @p2068='?' (DbType = Int64), @p2075='?' (DbType = Int32), @p2070='?' (DbType = Int32), @p2071='?' (DbType = Boolean), @p2072='?' (DbType = Boolean), @p2073='?' (Size = 4000), @p2074='?' (DbType = Int64), @p2081='?' (DbType = Int32), @p2076='?' (DbType = Int32), @p2077='?' (DbType = Boolean), @p2078='?' (DbType = Boolean), @p2079='?' (Size = 4000), @p2080='?' (DbType = Int64), @p2087='?' (DbType = Int32), @p2082='?' (DbType = Int32), @p2083='?' (DbType = Boolean), @p2084='?' (DbType = Boolean), @p2085='?' (Size = 4000), @p2086='?' (DbType = Int64), @p2093='?' (DbType = Int32), @p2088='?' (DbType = Int32), @p2089='?' (DbType = Boolean), @p2090='?' (DbType = Boolean), @p2091='?' (Size = 4000), @p2092='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1782, `IsActive` = @p1783, `IsDeleted` = @p1784, `Name` = @p1785, `SourceId` = @p1786
WHERE `Id` = @p1787;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1788, `IsActive` = @p1789, `IsDeleted` = @p1790, `Name` = @p1791, `SourceId` = @p1792
WHERE `Id` = @p1793;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1794, `IsActive` = @p1795, `IsDeleted` = @p1796, `Name` = @p1797, `SourceId` = @p1798
WHERE `Id` = @p1799;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1800, `IsActive` = @p1801, `IsDeleted` = @p1802, `Name` = @p1803, `SourceId` = @p1804
WHERE `Id` = @p1805;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1806, `IsActive` = @p1807, `IsDeleted` = @p1808, `Name` = @p1809, `SourceId` = @p1810
WHERE `Id` = @p1811;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1812, `IsActive` = @p1813, `IsDeleted` = @p1814, `Name` = @p1815, `SourceId` = @p1816
WHERE `Id` = @p1817;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1818, `IsActive` = @p1819, `IsDeleted` = @p1820, `Name` = @p1821, `SourceId` = @p1822
WHERE `Id` = @p1823;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1824, `IsActive` = @p1825, `IsDeleted` = @p1826, `Name` = @p1827, `SourceId` = @p1828
WHERE `Id` = @p1829;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1830, `IsActive` = @p1831, `IsDeleted` = @p1832, `Name` = @p1833, `SourceId` = @p1834
WHERE `Id` = @p1835;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1836, `IsActive` = @p1837, `IsDeleted` = @p1838, `Name` = @p1839, `SourceId` = @p1840
WHERE `Id` = @p1841;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1842, `IsActive` = @p1843, `IsDeleted` = @p1844, `Name` = @p1845, `SourceId` = @p1846
WHERE `Id` = @p1847;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1848, `IsActive` = @p1849, `IsDeleted` = @p1850, `Name` = @p1851, `SourceId` = @p1852
WHERE `Id` = @p1853;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1854, `IsActive` = @p1855, `IsDeleted` = @p1856, `Name` = @p1857, `SourceId` = @p1858
WHERE `Id` = @p1859;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1860, `IsActive` = @p1861, `IsDeleted` = @p1862, `Name` = @p1863, `SourceId` = @p1864
WHERE `Id` = @p1865;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1866, `IsActive` = @p1867, `IsDeleted` = @p1868, `Name` = @p1869, `SourceId` = @p1870
WHERE `Id` = @p1871;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1872, `IsActive` = @p1873, `IsDeleted` = @p1874, `Name` = @p1875, `SourceId` = @p1876
WHERE `Id` = @p1877;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1878, `IsActive` = @p1879, `IsDeleted` = @p1880, `Name` = @p1881, `SourceId` = @p1882
WHERE `Id` = @p1883;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1884, `IsActive` = @p1885, `IsDeleted` = @p1886, `Name` = @p1887, `SourceId` = @p1888
WHERE `Id` = @p1889;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1890, `IsActive` = @p1891, `IsDeleted` = @p1892, `Name` = @p1893, `SourceId` = @p1894
WHERE `Id` = @p1895;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1896, `IsActive` = @p1897, `IsDeleted` = @p1898, `Name` = @p1899, `SourceId` = @p1900
WHERE `Id` = @p1901;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1902, `IsActive` = @p1903, `IsDeleted` = @p1904, `Name` = @p1905, `SourceId` = @p1906
WHERE `Id` = @p1907;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1908, `IsActive` = @p1909, `IsDeleted` = @p1910, `Name` = @p1911, `SourceId` = @p1912
WHERE `Id` = @p1913;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1914, `IsActive` = @p1915, `IsDeleted` = @p1916, `Name` = @p1917, `SourceId` = @p1918
WHERE `Id` = @p1919;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1920, `IsActive` = @p1921, `IsDeleted` = @p1922, `Name` = @p1923, `SourceId` = @p1924
WHERE `Id` = @p1925;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1926, `IsActive` = @p1927, `IsDeleted` = @p1928, `Name` = @p1929, `SourceId` = @p1930
WHERE `Id` = @p1931;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1932, `IsActive` = @p1933, `IsDeleted` = @p1934, `Name` = @p1935, `SourceId` = @p1936
WHERE `Id` = @p1937;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1938, `IsActive` = @p1939, `IsDeleted` = @p1940, `Name` = @p1941, `SourceId` = @p1942
WHERE `Id` = @p1943;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1944, `IsActive` = @p1945, `IsDeleted` = @p1946, `Name` = @p1947, `SourceId` = @p1948
WHERE `Id` = @p1949;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1950, `IsActive` = @p1951, `IsDeleted` = @p1952, `Name` = @p1953, `SourceId` = @p1954
WHERE `Id` = @p1955;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1956, `IsActive` = @p1957, `IsDeleted` = @p1958, `Name` = @p1959, `SourceId` = @p1960
WHERE `Id` = @p1961;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1962, `IsActive` = @p1963, `IsDeleted` = @p1964, `Name` = @p1965, `SourceId` = @p1966
WHERE `Id` = @p1967;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1968, `IsActive` = @p1969, `IsDeleted` = @p1970, `Name` = @p1971, `SourceId` = @p1972
WHERE `Id` = @p1973;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1974, `IsActive` = @p1975, `IsDeleted` = @p1976, `Name` = @p1977, `SourceId` = @p1978
WHERE `Id` = @p1979;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1980, `IsActive` = @p1981, `IsDeleted` = @p1982, `Name` = @p1983, `SourceId` = @p1984
WHERE `Id` = @p1985;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1986, `IsActive` = @p1987, `IsDeleted` = @p1988, `Name` = @p1989, `SourceId` = @p1990
WHERE `Id` = @p1991;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1992, `IsActive` = @p1993, `IsDeleted` = @p1994, `Name` = @p1995, `SourceId` = @p1996
WHERE `Id` = @p1997;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1998, `IsActive` = @p1999, `IsDeleted` = @p2000, `Name` = @p2001, `SourceId` = @p2002
WHERE `Id` = @p2003;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2004, `IsActive` = @p2005, `IsDeleted` = @p2006, `Name` = @p2007, `SourceId` = @p2008
WHERE `Id` = @p2009;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2010, `IsActive` = @p2011, `IsDeleted` = @p2012, `Name` = @p2013, `SourceId` = @p2014
WHERE `Id` = @p2015;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2016, `IsActive` = @p2017, `IsDeleted` = @p2018, `Name` = @p2019, `SourceId` = @p2020
WHERE `Id` = @p2021;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2022, `IsActive` = @p2023, `IsDeleted` = @p2024, `Name` = @p2025, `SourceId` = @p2026
WHERE `Id` = @p2027;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2028, `IsActive` = @p2029, `IsDeleted` = @p2030, `Name` = @p2031, `SourceId` = @p2032
WHERE `Id` = @p2033;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2034, `IsActive` = @p2035, `IsDeleted` = @p2036, `Name` = @p2037, `SourceId` = @p2038
WHERE `Id` = @p2039;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2040, `IsActive` = @p2041, `IsDeleted` = @p2042, `Name` = @p2043, `SourceId` = @p2044
WHERE `Id` = @p2045;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2046, `IsActive` = @p2047, `IsDeleted` = @p2048, `Name` = @p2049, `SourceId` = @p2050
WHERE `Id` = @p2051;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2052, `IsActive` = @p2053, `IsDeleted` = @p2054, `Name` = @p2055, `SourceId` = @p2056
WHERE `Id` = @p2057;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2058, `IsActive` = @p2059, `IsDeleted` = @p2060, `Name` = @p2061, `SourceId` = @p2062
WHERE `Id` = @p2063;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2064, `IsActive` = @p2065, `IsDeleted` = @p2066, `Name` = @p2067, `SourceId` = @p2068
WHERE `Id` = @p2069;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2070, `IsActive` = @p2071, `IsDeleted` = @p2072, `Name` = @p2073, `SourceId` = @p2074
WHERE `Id` = @p2075;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2076, `IsActive` = @p2077, `IsDeleted` = @p2078, `Name` = @p2079, `SourceId` = @p2080
WHERE `Id` = @p2081;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2082, `IsActive` = @p2083, `IsDeleted` = @p2084, `Name` = @p2085, `SourceId` = @p2086
WHERE `Id` = @p2087;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2088, `IsActive` = @p2089, `IsDeleted` = @p2090, `Name` = @p2091, `SourceId` = @p2092
WHERE `Id` = @p2093;
SELECT ROW_COUNT();
INFO  2025-04-03 15:48:50,051 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64), @p1787='?' (DbType = Int32), @p1782='?' (DbType = Int32), @p1783='?' (DbType = Boolean), @p1784='?' (DbType = Boolean), @p1785='?' (Size = 4000), @p1786='?' (DbType = Int64), @p1793='?' (DbType = Int32), @p1788='?' (DbType = Int32), @p1789='?' (DbType = Boolean), @p1790='?' (DbType = Boolean), @p1791='?' (Size = 4000), @p1792='?' (DbType = Int64), @p1799='?' (DbType = Int32), @p1794='?' (DbType = Int32), @p1795='?' (DbType = Boolean), @p1796='?' (DbType = Boolean), @p1797='?' (Size = 4000), @p1798='?' (DbType = Int64), @p1805='?' (DbType = Int32), @p1800='?' (DbType = Int32), @p1801='?' (DbType = Boolean), @p1802='?' (DbType = Boolean), @p1803='?' (Size = 4000), @p1804='?' (DbType = Int64), @p1811='?' (DbType = Int32), @p1806='?' (DbType = Int32), @p1807='?' (DbType = Boolean), @p1808='?' (DbType = Boolean), @p1809='?' (Size = 4000), @p1810='?' (DbType = Int64), @p1817='?' (DbType = Int32), @p1812='?' (DbType = Int32), @p1813='?' (DbType = Boolean), @p1814='?' (DbType = Boolean), @p1815='?' (Size = 4000), @p1816='?' (DbType = Int64), @p1823='?' (DbType = Int32), @p1818='?' (DbType = Int32), @p1819='?' (DbType = Boolean), @p1820='?' (DbType = Boolean), @p1821='?' (Size = 4000), @p1822='?' (DbType = Int64), @p1829='?' (DbType = Int32), @p1824='?' (DbType = Int32), @p1825='?' (DbType = Boolean), @p1826='?' (DbType = Boolean), @p1827='?' (Size = 4000), @p1828='?' (DbType = Int64), @p1835='?' (DbType = Int32), @p1830='?' (DbType = Int32), @p1831='?' (DbType = Boolean), @p1832='?' (DbType = Boolean), @p1833='?' (Size = 4000), @p1834='?' (DbType = Int64), @p1841='?' (DbType = Int32), @p1836='?' (DbType = Int32), @p1837='?' (DbType = Boolean), @p1838='?' (DbType = Boolean), @p1839='?' (Size = 4000), @p1840='?' (DbType = Int64), @p1847='?' (DbType = Int32), @p1842='?' (DbType = Int32), @p1843='?' (DbType = Boolean), @p1844='?' (DbType = Boolean), @p1845='?' (Size = 4000), @p1846='?' (DbType = Int64), @p1853='?' (DbType = Int32), @p1848='?' (DbType = Int32), @p1849='?' (DbType = Boolean), @p1850='?' (DbType = Boolean), @p1851='?' (Size = 4000), @p1852='?' (DbType = Int64), @p1859='?' (DbType = Int32), @p1854='?' (DbType = Int32), @p1855='?' (DbType = Boolean), @p1856='?' (DbType = Boolean), @p1857='?' (Size = 4000), @p1858='?' (DbType = Int64), @p1865='?' (DbType = Int32), @p1860='?' (DbType = Int32), @p1861='?' (DbType = Boolean), @p1862='?' (DbType = Boolean), @p1863='?' (Size = 4000), @p1864='?' (DbType = Int64), @p1871='?' (DbType = Int32), @p1866='?' (DbType = Int32), @p1867='?' (DbType = Boolean), @p1868='?' (DbType = Boolean), @p1869='?' (Size = 4000), @p1870='?' (DbType = Int64), @p1877='?' (DbType = Int32), @p1872='?' (DbType = Int32), @p1873='?' (DbType = Boolean), @p1874='?' (DbType = Boolean), @p1875='?' (Size = 4000), @p1876='?' (DbType = Int64), @p1883='?' (DbType = Int32), @p1878='?' (DbType = Int32), @p1879='?' (DbType = Boolean), @p1880='?' (DbType = Boolean), @p1881='?' (Size = 4000), @p1882='?' (DbType = Int64), @p1889='?' (DbType = Int32), @p1884='?' (DbType = Int32), @p1885='?' (DbType = Boolean), @p1886='?' (DbType = Boolean), @p1887='?' (Size = 4000), @p1888='?' (DbType = Int64), @p1895='?' (DbType = Int32), @p1890='?' (DbType = Int32), @p1891='?' (DbType = Boolean), @p1892='?' (DbType = Boolean), @p1893='?' (Size = 4000), @p1894='?' (DbType = Int64), @p1901='?' (DbType = Int32), @p1896='?' (DbType = Int32), @p1897='?' (DbType = Boolean), @p1898='?' (DbType = Boolean), @p1899='?' (Size = 4000), @p1900='?' (DbType = Int64), @p1907='?' (DbType = Int32), @p1902='?' (DbType = Int32), @p1903='?' (DbType = Boolean), @p1904='?' (DbType = Boolean), @p1905='?' (Size = 4000), @p1906='?' (DbType = Int64), @p1913='?' (DbType = Int32), @p1908='?' (DbType = Int32), @p1909='?' (DbType = Boolean), @p1910='?' (DbType = Boolean), @p1911='?' (Size = 4000), @p1912='?' (DbType = Int64), @p1919='?' (DbType = Int32), @p1914='?' (DbType = Int32), @p1915='?' (DbType = Boolean), @p1916='?' (DbType = Boolean), @p1917='?' (Size = 4000), @p1918='?' (DbType = Int64), @p1925='?' (DbType = Int32), @p1920='?' (DbType = Int32), @p1921='?' (DbType = Boolean), @p1922='?' (DbType = Boolean), @p1923='?' (Size = 4000), @p1924='?' (DbType = Int64), @p1931='?' (DbType = Int32), @p1926='?' (DbType = Int32), @p1927='?' (DbType = Boolean), @p1928='?' (DbType = Boolean), @p1929='?' (Size = 4000), @p1930='?' (DbType = Int64), @p1937='?' (DbType = Int32), @p1932='?' (DbType = Int32), @p1933='?' (DbType = Boolean), @p1934='?' (DbType = Boolean), @p1935='?' (Size = 4000), @p1936='?' (DbType = Int64), @p1943='?' (DbType = Int32), @p1938='?' (DbType = Int32), @p1939='?' (DbType = Boolean), @p1940='?' (DbType = Boolean), @p1941='?' (Size = 4000), @p1942='?' (DbType = Int64), @p1949='?' (DbType = Int32), @p1944='?' (DbType = Int32), @p1945='?' (DbType = Boolean), @p1946='?' (DbType = Boolean), @p1947='?' (Size = 4000), @p1948='?' (DbType = Int64), @p1955='?' (DbType = Int32), @p1950='?' (DbType = Int32), @p1951='?' (DbType = Boolean), @p1952='?' (DbType = Boolean), @p1953='?' (Size = 4000), @p1954='?' (DbType = Int64), @p1961='?' (DbType = Int32), @p1956='?' (DbType = Int32), @p1957='?' (DbType = Boolean), @p1958='?' (DbType = Boolean), @p1959='?' (Size = 4000), @p1960='?' (DbType = Int64), @p1967='?' (DbType = Int32), @p1962='?' (DbType = Int32), @p1963='?' (DbType = Boolean), @p1964='?' (DbType = Boolean), @p1965='?' (Size = 4000), @p1966='?' (DbType = Int64), @p1973='?' (DbType = Int32), @p1968='?' (DbType = Int32), @p1969='?' (DbType = Boolean), @p1970='?' (DbType = Boolean), @p1971='?' (Size = 4000), @p1972='?' (DbType = Int64), @p1979='?' (DbType = Int32), @p1974='?' (DbType = Int32), @p1975='?' (DbType = Boolean), @p1976='?' (DbType = Boolean), @p1977='?' (Size = 4000), @p1978='?' (DbType = Int64), @p1985='?' (DbType = Int32), @p1980='?' (DbType = Int32), @p1981='?' (DbType = Boolean), @p1982='?' (DbType = Boolean), @p1983='?' (Size = 4000), @p1984='?' (DbType = Int64), @p1991='?' (DbType = Int32), @p1986='?' (DbType = Int32), @p1987='?' (DbType = Boolean), @p1988='?' (DbType = Boolean), @p1989='?' (Size = 4000), @p1990='?' (DbType = Int64), @p1997='?' (DbType = Int32), @p1992='?' (DbType = Int32), @p1993='?' (DbType = Boolean), @p1994='?' (DbType = Boolean), @p1995='?' (Size = 4000), @p1996='?' (DbType = Int64), @p2003='?' (DbType = Int32), @p1998='?' (DbType = Int32), @p1999='?' (DbType = Boolean), @p2000='?' (DbType = Boolean), @p2001='?' (Size = 4000), @p2002='?' (DbType = Int64), @p2009='?' (DbType = Int32), @p2004='?' (DbType = Int32), @p2005='?' (DbType = Boolean), @p2006='?' (DbType = Boolean), @p2007='?' (Size = 4000), @p2008='?' (DbType = Int64), @p2015='?' (DbType = Int32), @p2010='?' (DbType = Int32), @p2011='?' (DbType = Boolean), @p2012='?' (DbType = Boolean), @p2013='?' (Size = 4000), @p2014='?' (DbType = Int64), @p2021='?' (DbType = Int32), @p2016='?' (DbType = Int32), @p2017='?' (DbType = Boolean), @p2018='?' (DbType = Boolean), @p2019='?' (Size = 4000), @p2020='?' (DbType = Int64), @p2027='?' (DbType = Int32), @p2022='?' (DbType = Int32), @p2023='?' (DbType = Boolean), @p2024='?' (DbType = Boolean), @p2025='?' (Size = 4000), @p2026='?' (DbType = Int64), @p2033='?' (DbType = Int32), @p2028='?' (DbType = Int32), @p2029='?' (DbType = Boolean), @p2030='?' (DbType = Boolean), @p2031='?' (Size = 4000), @p2032='?' (DbType = Int64), @p2039='?' (DbType = Int32), @p2034='?' (DbType = Int32), @p2035='?' (DbType = Boolean), @p2036='?' (DbType = Boolean), @p2037='?' (Size = 4000), @p2038='?' (DbType = Int64), @p2045='?' (DbType = Int32), @p2040='?' (DbType = Int32), @p2041='?' (DbType = Boolean), @p2042='?' (DbType = Boolean), @p2043='?' (Size = 4000), @p2044='?' (DbType = Int64), @p2051='?' (DbType = Int32), @p2046='?' (DbType = Int32), @p2047='?' (DbType = Boolean), @p2048='?' (DbType = Boolean), @p2049='?' (Size = 4000), @p2050='?' (DbType = Int64), @p2057='?' (DbType = Int32), @p2052='?' (DbType = Int32), @p2053='?' (DbType = Boolean), @p2054='?' (DbType = Boolean), @p2055='?' (Size = 4000), @p2056='?' (DbType = Int64), @p2063='?' (DbType = Int32), @p2058='?' (DbType = Int32), @p2059='?' (DbType = Boolean), @p2060='?' (DbType = Boolean), @p2061='?' (Size = 4000), @p2062='?' (DbType = Int64), @p2069='?' (DbType = Int32), @p2064='?' (DbType = Int32), @p2065='?' (DbType = Boolean), @p2066='?' (DbType = Boolean), @p2067='?' (Size = 4000), @p2068='?' (DbType = Int64), @p2075='?' (DbType = Int32), @p2070='?' (DbType = Int32), @p2071='?' (DbType = Boolean), @p2072='?' (DbType = Boolean), @p2073='?' (Size = 4000), @p2074='?' (DbType = Int64), @p2081='?' (DbType = Int32), @p2076='?' (DbType = Int32), @p2077='?' (DbType = Boolean), @p2078='?' (DbType = Boolean), @p2079='?' (Size = 4000), @p2080='?' (DbType = Int64), @p2087='?' (DbType = Int32), @p2082='?' (DbType = Int32), @p2083='?' (DbType = Boolean), @p2084='?' (DbType = Boolean), @p2085='?' (Size = 4000), @p2086='?' (DbType = Int64), @p2093='?' (DbType = Int32), @p2088='?' (DbType = Int32), @p2089='?' (DbType = Boolean), @p2090='?' (DbType = Boolean), @p2091='?' (Size = 4000), @p2092='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1782, `IsActive` = @p1783, `IsDeleted` = @p1784, `Name` = @p1785, `SourceId` = @p1786
WHERE `Id` = @p1787;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1788, `IsActive` = @p1789, `IsDeleted` = @p1790, `Name` = @p1791, `SourceId` = @p1792
WHERE `Id` = @p1793;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1794, `IsActive` = @p1795, `IsDeleted` = @p1796, `Name` = @p1797, `SourceId` = @p1798
WHERE `Id` = @p1799;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1800, `IsActive` = @p1801, `IsDeleted` = @p1802, `Name` = @p1803, `SourceId` = @p1804
WHERE `Id` = @p1805;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1806, `IsActive` = @p1807, `IsDeleted` = @p1808, `Name` = @p1809, `SourceId` = @p1810
WHERE `Id` = @p1811;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1812, `IsActive` = @p1813, `IsDeleted` = @p1814, `Name` = @p1815, `SourceId` = @p1816
WHERE `Id` = @p1817;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1818, `IsActive` = @p1819, `IsDeleted` = @p1820, `Name` = @p1821, `SourceId` = @p1822
WHERE `Id` = @p1823;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1824, `IsActive` = @p1825, `IsDeleted` = @p1826, `Name` = @p1827, `SourceId` = @p1828
WHERE `Id` = @p1829;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1830, `IsActive` = @p1831, `IsDeleted` = @p1832, `Name` = @p1833, `SourceId` = @p1834
WHERE `Id` = @p1835;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1836, `IsActive` = @p1837, `IsDeleted` = @p1838, `Name` = @p1839, `SourceId` = @p1840
WHERE `Id` = @p1841;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1842, `IsActive` = @p1843, `IsDeleted` = @p1844, `Name` = @p1845, `SourceId` = @p1846
WHERE `Id` = @p1847;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1848, `IsActive` = @p1849, `IsDeleted` = @p1850, `Name` = @p1851, `SourceId` = @p1852
WHERE `Id` = @p1853;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1854, `IsActive` = @p1855, `IsDeleted` = @p1856, `Name` = @p1857, `SourceId` = @p1858
WHERE `Id` = @p1859;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1860, `IsActive` = @p1861, `IsDeleted` = @p1862, `Name` = @p1863, `SourceId` = @p1864
WHERE `Id` = @p1865;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1866, `IsActive` = @p1867, `IsDeleted` = @p1868, `Name` = @p1869, `SourceId` = @p1870
WHERE `Id` = @p1871;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1872, `IsActive` = @p1873, `IsDeleted` = @p1874, `Name` = @p1875, `SourceId` = @p1876
WHERE `Id` = @p1877;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1878, `IsActive` = @p1879, `IsDeleted` = @p1880, `Name` = @p1881, `SourceId` = @p1882
WHERE `Id` = @p1883;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1884, `IsActive` = @p1885, `IsDeleted` = @p1886, `Name` = @p1887, `SourceId` = @p1888
WHERE `Id` = @p1889;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1890, `IsActive` = @p1891, `IsDeleted` = @p1892, `Name` = @p1893, `SourceId` = @p1894
WHERE `Id` = @p1895;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1896, `IsActive` = @p1897, `IsDeleted` = @p1898, `Name` = @p1899, `SourceId` = @p1900
WHERE `Id` = @p1901;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1902, `IsActive` = @p1903, `IsDeleted` = @p1904, `Name` = @p1905, `SourceId` = @p1906
WHERE `Id` = @p1907;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1908, `IsActive` = @p1909, `IsDeleted` = @p1910, `Name` = @p1911, `SourceId` = @p1912
WHERE `Id` = @p1913;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1914, `IsActive` = @p1915, `IsDeleted` = @p1916, `Name` = @p1917, `SourceId` = @p1918
WHERE `Id` = @p1919;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1920, `IsActive` = @p1921, `IsDeleted` = @p1922, `Name` = @p1923, `SourceId` = @p1924
WHERE `Id` = @p1925;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1926, `IsActive` = @p1927, `IsDeleted` = @p1928, `Name` = @p1929, `SourceId` = @p1930
WHERE `Id` = @p1931;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1932, `IsActive` = @p1933, `IsDeleted` = @p1934, `Name` = @p1935, `SourceId` = @p1936
WHERE `Id` = @p1937;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1938, `IsActive` = @p1939, `IsDeleted` = @p1940, `Name` = @p1941, `SourceId` = @p1942
WHERE `Id` = @p1943;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1944, `IsActive` = @p1945, `IsDeleted` = @p1946, `Name` = @p1947, `SourceId` = @p1948
WHERE `Id` = @p1949;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1950, `IsActive` = @p1951, `IsDeleted` = @p1952, `Name` = @p1953, `SourceId` = @p1954
WHERE `Id` = @p1955;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1956, `IsActive` = @p1957, `IsDeleted` = @p1958, `Name` = @p1959, `SourceId` = @p1960
WHERE `Id` = @p1961;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1962, `IsActive` = @p1963, `IsDeleted` = @p1964, `Name` = @p1965, `SourceId` = @p1966
WHERE `Id` = @p1967;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1968, `IsActive` = @p1969, `IsDeleted` = @p1970, `Name` = @p1971, `SourceId` = @p1972
WHERE `Id` = @p1973;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1974, `IsActive` = @p1975, `IsDeleted` = @p1976, `Name` = @p1977, `SourceId` = @p1978
WHERE `Id` = @p1979;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1980, `IsActive` = @p1981, `IsDeleted` = @p1982, `Name` = @p1983, `SourceId` = @p1984
WHERE `Id` = @p1985;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1986, `IsActive` = @p1987, `IsDeleted` = @p1988, `Name` = @p1989, `SourceId` = @p1990
WHERE `Id` = @p1991;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1992, `IsActive` = @p1993, `IsDeleted` = @p1994, `Name` = @p1995, `SourceId` = @p1996
WHERE `Id` = @p1997;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1998, `IsActive` = @p1999, `IsDeleted` = @p2000, `Name` = @p2001, `SourceId` = @p2002
WHERE `Id` = @p2003;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2004, `IsActive` = @p2005, `IsDeleted` = @p2006, `Name` = @p2007, `SourceId` = @p2008
WHERE `Id` = @p2009;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2010, `IsActive` = @p2011, `IsDeleted` = @p2012, `Name` = @p2013, `SourceId` = @p2014
WHERE `Id` = @p2015;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2016, `IsActive` = @p2017, `IsDeleted` = @p2018, `Name` = @p2019, `SourceId` = @p2020
WHERE `Id` = @p2021;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2022, `IsActive` = @p2023, `IsDeleted` = @p2024, `Name` = @p2025, `SourceId` = @p2026
WHERE `Id` = @p2027;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2028, `IsActive` = @p2029, `IsDeleted` = @p2030, `Name` = @p2031, `SourceId` = @p2032
WHERE `Id` = @p2033;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2034, `IsActive` = @p2035, `IsDeleted` = @p2036, `Name` = @p2037, `SourceId` = @p2038
WHERE `Id` = @p2039;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2040, `IsActive` = @p2041, `IsDeleted` = @p2042, `Name` = @p2043, `SourceId` = @p2044
WHERE `Id` = @p2045;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2046, `IsActive` = @p2047, `IsDeleted` = @p2048, `Name` = @p2049, `SourceId` = @p2050
WHERE `Id` = @p2051;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2052, `IsActive` = @p2053, `IsDeleted` = @p2054, `Name` = @p2055, `SourceId` = @p2056
WHERE `Id` = @p2057;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2058, `IsActive` = @p2059, `IsDeleted` = @p2060, `Name` = @p2061, `SourceId` = @p2062
WHERE `Id` = @p2063;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2064, `IsActive` = @p2065, `IsDeleted` = @p2066, `Name` = @p2067, `SourceId` = @p2068
WHERE `Id` = @p2069;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2070, `IsActive` = @p2071, `IsDeleted` = @p2072, `Name` = @p2073, `SourceId` = @p2074
WHERE `Id` = @p2075;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2076, `IsActive` = @p2077, `IsDeleted` = @p2078, `Name` = @p2079, `SourceId` = @p2080
WHERE `Id` = @p2081;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2082, `IsActive` = @p2083, `IsDeleted` = @p2084, `Name` = @p2085, `SourceId` = @p2086
WHERE `Id` = @p2087;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2088, `IsActive` = @p2089, `IsDeleted` = @p2090, `Name` = @p2091, `SourceId` = @p2092
WHERE `Id` = @p2093;
SELECT ROW_COUNT();
INFO  2025-04-03 15:48:50,108 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();
INFO  2025-04-03 15:48:50,265 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:48:50,267 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 39560.9ms
INFO  2025-04-03 15:48:50,269 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:48:50,270 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 39575.1835ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:48:50,272 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 15:48:50,274 [40   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:50,275 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.352ms 204 
INFO  2025-04-03 15:48:50,277 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 15:48:50,278 [40   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:48:50,281 [40   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:48:50,283 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:48:50,287 [40   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 15:48:50,471 [40   ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:48:50,475 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:48:50,477 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 187.7196ms
INFO  2025-04-03 15:48:50,478 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:48:50,480 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 203.1582ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:49:04,782 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:49:04,784 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:04,786 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6619ms 204 
INFO  2025-04-03 15:49:04,788 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:49:04,790 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:04,792 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:49:04,794 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:04,798 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:49:04,862 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:49:04,864 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.9444ms
INFO  2025-04-03 15:49:04,865 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:04,867 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.4534ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:49:25,122 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:49:25,128 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:25,132 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.143ms 204 
INFO  2025-04-03 15:49:25,136 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:49:25,138 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:25,141 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:49:25,145 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:25,170 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:49:25,231 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:49:25,232 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.8427ms
INFO  2025-04-03 15:49:25,234 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:25,235 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.7012ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:49:45,132 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:49:45,133 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:45,135 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.445ms 204 
INFO  2025-04-03 15:49:45,137 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:49:45,139 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:49:45,140 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:49:45,142 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:45,146 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:49:45,211 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:49:45,213 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.6343ms
INFO  2025-04-03 15:49:45,214 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:49:45,216 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.9456ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:50:05,130 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:50:05,132 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:05,134 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5895ms 204 
INFO  2025-04-03 15:50:05,135 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:50:05,137 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:05,139 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:50:05,140 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:05,144 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:50:05,209 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:50:05,211 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.1651ms
INFO  2025-04-03 15:50:05,213 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:05,214 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.8856ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:50:16,726 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:50:16,728 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:16,731 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0187ms 204 
INFO  2025-04-03 15:50:16,737 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:50:16,739 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:16,741 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:50:16,743 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:50:16,747 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:50:16,753 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:50:16,791 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:50:16,805 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:50:16,847 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:50:16,849 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 99.6369ms
INFO  2025-04-03 15:50:16,851 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:50:16,853 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.3512ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:50:24,780 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:50:24,785 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:24,789 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 12.9489ms 204 
INFO  2025-04-03 15:50:24,791 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:50:24,792 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:24,795 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:50:24,796 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:24,800 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:50:24,862 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:50:24,864 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.2132ms
INFO  2025-04-03 15:50:24,865 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:24,867 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 76.7471ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:50:44,773 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:50:44,775 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:44,778 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9891ms 204 
INFO  2025-04-03 15:50:44,779 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:50:44,781 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:44,782 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:50:44,784 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:44,788 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:50:44,875 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:50:44,877 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 86.773ms
INFO  2025-04-03 15:50:44,879 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:50:44,880 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.0035ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:50:49,014 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=990&MaxResultCount=15  
INFO  2025-04-03 15:50:49,016 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:49,018 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.717ms 204 
INFO  2025-04-03 15:50:49,023 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=990&MaxResultCount=15 application/json 
INFO  2025-04-03 15:50:49,024 [4    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:50:49,026 [4    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:50:49,028 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:50:49,031 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:50:49,036 [4    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:50:49,074 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:50:49,085 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:50:49,130 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:50:49,134 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 98.9362ms
INFO  2025-04-03 15:50:49,138 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:50:49,140 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 116.9083ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:51:04,771 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:51:04,773 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:51:04,776 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9463ms 204 
INFO  2025-04-03 15:51:04,780 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:51:04,782 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:51:04,783 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:51:04,785 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:51:04,788 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:51:04,856 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:51:04,860 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 68.1299ms
INFO  2025-04-03 15:51:04,862 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:51:04,863 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.1972ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:51:06,634 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 15:51:06,636 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:51:06,639 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3214ms 204 
INFO  2025-04-03 15:51:06,641 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 15:51:06,645 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:51:06,647 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:51:06,649 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:51:06,653 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:51:10,648 [42   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:51:10,683 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 15:51:11,237 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (27ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 15:51:21,958 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (25ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:05,378 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,409 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,414 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 68.9366ms 204 
INFO  2025-04-03 15:54:05,419 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,422 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,426 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,429 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,430 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,433 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 13.1881ms 204 
INFO  2025-04-03 15:54:05,452 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,456 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,458 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 25.7842ms 204 
INFO  2025-04-03 15:54:05,460 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,462 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,465 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,466 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,467 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.9407ms 204 
INFO  2025-04-03 15:54:05,469 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.2024ms 204 
INFO  2025-04-03 15:54:05,473 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:05,475 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,477 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,478 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 41.8229ms 204 
INFO  2025-04-03 15:54:05,480 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11.7288ms 204 
INFO  2025-04-03 15:54:05,483 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:05,485 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,487 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:05,489 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:05,491 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:05,493 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.3712ms 204 
INFO  2025-04-03 15:54:05,530 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:05,982 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:07,285 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:07,820 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 515.9318ms 204 
INFO  2025-04-03 15:54:07,849 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:16,958 [46   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:16,975 [46   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 9673.2682ms
INFO  2025-04-03 15:54:17,238 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:17,254 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:17,257 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:17,441 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11786.769ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:17,443 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:17,445 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:17,453 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:17,479 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:17,957 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:18,868 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:18,885 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:18,888 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1432.1063ms
INFO  2025-04-03 15:54:18,890 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:19,121 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:19,124 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:19,383 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2149.0498ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:19,386 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:19,402 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:19,698 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:21,964 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:21,980 [38   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:22,146 [38   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 2282.8441ms
INFO  2025-04-03 15:54:22,149 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:22,389 [38   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:22,391 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:22,425 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3502.0564ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:22,427 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:22,429 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:22,452 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:22,455 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:23,123 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:24,481 [49   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:24,769 [49   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 2029.2731ms
INFO  2025-04-03 15:54:24,789 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:24,791 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:25,020 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:25,036 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2809.4701ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:25,249 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:25,526 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:25,544 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:25,787 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:26,073 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:26,077 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:26,080 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:26,082 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:26,084 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:26,086 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:26,089 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:26,091 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:26,096 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:26,098 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:26,100 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1060.7626ms 204 
INFO  2025-04-03 15:54:26,102 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:26,126 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:26,128 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:26,135 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:26,145 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:26,168 [9    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (60ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:26,182 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:26,607 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:27,229 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:27,245 [16   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:27,276 [16   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1120.8487ms
INFO  2025-04-03 15:54:27,451 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:27,472 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:27,474 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:27,482 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2990.0443ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:27,751 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:27,976 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:27,978 [49   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:27,980 [49   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1842.3711ms
INFO  2025-04-03 15:54:27,982 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:27,987 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2458.9317ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:28,639 [14   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:28,886 [39   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:28,902 [39   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 2704.0198ms
INFO  2025-04-03 15:54:28,920 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:29,131 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3393.4604ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:29,149 [9    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:29,342 [9    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 3209.1229ms
INFO  2025-04-03 15:54:29,543 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:29,561 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4019.6467ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:30,034 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (29ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:30,429 [58   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:30,431 [58   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1789.4494ms
INFO  2025-04-03 15:54:30,433 [58   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:30,436 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:30,438 [58   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3156.2577ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:30,440 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:30,444 [46   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:30,446 [46   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:30,469 [46   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:30,502 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (56ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:31,051 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:32,501 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:32,518 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 2032.5907ms
INFO  2025-04-03 15:54:32,536 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:32,806 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2104.1427ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:34,042 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (416ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:38,892 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:38,904 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:38,913 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:38,922 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:38,931 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:38,940 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:38,948 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:38,956 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:38,968 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:38,978 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:38,985 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:38,996 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,007 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,016 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,024 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,032 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,039 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,048 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,055 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,063 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,072 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,080 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,087 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,096 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,105 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,113 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,123 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,131 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,140 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,150 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,158 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,167 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,179 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,188 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,198 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,207 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,215 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,225 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,234 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,241 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,248 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,258 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,266 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,274 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,283 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,291 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,298 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,309 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,316 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,324 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,333 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,340 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,349 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,364 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,373 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,380 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,390 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,398 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,406 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,416 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,423 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,431 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,441 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,449 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,457 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,466 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,476 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,484 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,493 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,501 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,509 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,518 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,526 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,534 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,543 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,551 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,558 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,568 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,577 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,584 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,596 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,606 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,614 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,625 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,641 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,657 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,668 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,678 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,685 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,694 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,702 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,711 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,719 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,728 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,734 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,746 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,754 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,763 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,773 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,782 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,792 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,801 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,809 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,816 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,826 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,834 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,847 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,857 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,868 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,876 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,885 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,893 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,902 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,910 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,918 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,926 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,935 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,943 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,953 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,965 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:39,979 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:39,986 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:39,999 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,009 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,024 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,064 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (34ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,074 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,082 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,093 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,100 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,108 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,118 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,130 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,138 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,149 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,157 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,165 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,176 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,184 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,194 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,203 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,209 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,216 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,229 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,237 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,245 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,253 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,261 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,270 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,283 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,291 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,298 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,307 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,314 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,322 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,331 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,340 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,350 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,360 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,367 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,375 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,385 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,393 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,401 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,410 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,419 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,427 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,437 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,453 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,461 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,468 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,477 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,485 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,495 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,501 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,512 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,521 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,538 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,547 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,558 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,566 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,574 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,583 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,592 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,604 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,615 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,624 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,631 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,643 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,651 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,658 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,667 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,685 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,698 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,710 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,719 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,729 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,740 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,750 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,759 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,769 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,778 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,785 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,794 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,802 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,810 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,819 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,830 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,850 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,858 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,865 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,877 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,884 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,897 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,909 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,919 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,929 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,941 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,947 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,957 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,968 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:40,976 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:40,984 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:40,997 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,005 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,017 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,027 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,037 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,046 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,057 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,066 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,075 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,085 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,092 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,101 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,112 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,119 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,130 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,140 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,150 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,160 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,168 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,179 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,186 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,195 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,206 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,216 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,227 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,236 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,244 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,253 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,265 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,274 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,284 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,291 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,298 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,309 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,318 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,327 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,336 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,342 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,350 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,359 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,369 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,377 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,386 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,409 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,417 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,426 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,434 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,444 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,453 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,462 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,470 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,479 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,496 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,505 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,519 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,529 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,538 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,549 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,557 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,567 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,577 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,586 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,594 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,605 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,615 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,628 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,647 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,654 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,661 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,671 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,677 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,719 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (38ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,727 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,735 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,743 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,752 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,760 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,769 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,779 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,786 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,794 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,803 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,811 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,819 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,827 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,836 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,843 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,853 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,860 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,868 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,877 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,883 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,892 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,901 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,914 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,924 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,935 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,942 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,949 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,962 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,970 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:41,976 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:41,984 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:41,992 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,003 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,013 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,022 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,032 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,042 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,051 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,058 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,067 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,076 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,083 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,093 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,100 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,108 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,116 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,123 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,130 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,140 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,148 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,157 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,166 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,173 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,182 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,191 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,200 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,208 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,226 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,240 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,256 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,275 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,289 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,297 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,306 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,314 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,321 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,331 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,338 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,346 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,355 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,363 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,370 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,381 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,388 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,396 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,406 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,413 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,421 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,433 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,442 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,449 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,459 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,467 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,477 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,486 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,495 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,503 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,513 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,520 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,532 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,543 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,551 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,558 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,568 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,575 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,582 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,593 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,602 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,611 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,621 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,627 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,637 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,647 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,654 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,663 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,671 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,679 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,687 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,698 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,708 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,724 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,741 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,750 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,760 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,769 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,778 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,785 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,794 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,800 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,809 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,817 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,824 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,833 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,842 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,850 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,858 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,873 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,882 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,889 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,897 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,904 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,912 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,921 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,928 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,935 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,943 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,950 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,957 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,966 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,973 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:42,981 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:42,990 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:42,998 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,006 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,014 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,020 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,026 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,035 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,048 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,059 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,068 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,077 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,085 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,097 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,104 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,111 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,120 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,127 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,136 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,146 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,153 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,160 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,168 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,175 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,182 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,190 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,198 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,204 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,213 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,220 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,226 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,237 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,246 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,253 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,261 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,269 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,276 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,285 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,294 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,301 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,311 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,318 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,324 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,333 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,341 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,351 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,359 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,367 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,376 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,388 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,395 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,402 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,415 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,421 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,429 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,437 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,445 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,452 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,461 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,468 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,475 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,483 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,491 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,500 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,641 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,648 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,654 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,662 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,669 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,675 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,682 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,687 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,693 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,700 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,708 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,714 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,722 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,727 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,733 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,741 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,746 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,751 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,759 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,765 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,771 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,778 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,783 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,789 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,796 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,801 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,807 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,815 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,821 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,826 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,834 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,844 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,852 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,858 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,865 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,872 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,878 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,884 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,892 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,898 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,904 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,912 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,917 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,922 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,931 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,938 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,945 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,953 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,959 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,967 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:43,977 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:43,991 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:43,996 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,004 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,010 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,017 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,025 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,030 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,036 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,044 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,053 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,059 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,069 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,077 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,087 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,097 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,106 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,113 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,122 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,130 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,137 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,150 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,157 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,163 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,171 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,178 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,187 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,194 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,199 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,208 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,216 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,223 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,229 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,238 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,244 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,251 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,258 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,263 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,271 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,279 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,288 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,295 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,303 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,309 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,315 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,324 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,331 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,337 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,345 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,351 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,357 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,365 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,372 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,379 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,388 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,395 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,403 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,412 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,419 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,426 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,439 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,444 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,451 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,459 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,464 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,471 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,480 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,486 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,493 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,500 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,506 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,512 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,520 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,527 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,534 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,542 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,548 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,555 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,564 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,571 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,581 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,590 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,597 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,604 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,612 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,618 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,624 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,634 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,640 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,648 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,655 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,663 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,670 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,678 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,684 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,689 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,697 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,704 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,712 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,721 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,726 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,732 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,741 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,747 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,758 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,766 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,768 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:54:44,771 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:44,775 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5763ms 204 
INFO  2025-04-03 15:54:44,776 [15   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,778 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:54:44,780 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:54:44,824 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:54:44,826 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:44,828 [9    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (44ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,831 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:54:44,838 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,844 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,849 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,865 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,871 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,879 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,881 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:54:44,883 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 49.7458ms
INFO  2025-04-03 15:54:44,886 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:54:44,890 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 110.7753ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:54:44,896 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,905 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,914 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,925 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,932 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,939 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,949 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,955 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,962 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,972 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:44,979 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:44,985 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:44,996 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,004 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,010 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,017 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,022 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,028 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,036 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,043 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,049 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,056 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,065 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,071 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,080 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,091 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,108 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,116 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,122 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,128 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,136 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,142 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,148 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,155 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,161 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,167 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,176 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,182 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,188 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,195 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,206 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,218 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,223 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,229 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,237 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,246 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,261 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,278 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,283 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,289 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,299 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,304 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,311 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,320 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,325 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,332 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,340 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,346 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,351 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,360 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,365 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,372 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,380 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,387 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,393 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,401 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,408 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,414 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,422 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,428 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,433 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,442 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,450 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,456 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,463 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,470 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,475 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,484 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,490 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,500 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,508 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,520 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,534 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,543 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,550 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,556 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,564 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,572 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,579 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,587 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,594 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,599 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,611 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,617 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,622 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,631 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,636 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,642 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,650 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,656 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,663 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,672 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,677 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,684 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,692 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,698 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,710 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,722 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,728 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,734 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,743 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,751 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,757 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,765 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,771 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,776 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,784 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,790 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,796 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,804 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,812 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,817 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,825 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,833 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,839 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,846 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,852 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,858 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,866 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,872 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,877 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,886 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,892 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,901 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,912 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,918 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,925 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,934 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,940 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,947 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,955 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,966 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,972 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:45,980 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:45,984 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:45,996 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,005 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,013 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,020 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,030 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,036 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,043 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,052 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,058 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,067 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,076 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,082 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,088 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,097 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,102 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,108 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,117 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,123 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,130 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,138 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,146 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,154 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,166 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,171 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,177 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,187 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,193 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,208 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,214 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,229 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,238 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,243 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,255 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,274 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,281 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,288 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,296 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,303 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,311 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,323 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,328 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,335 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,343 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,348 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,357 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,364 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,370 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,376 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,384 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,390 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,397 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,405 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,410 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,416 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,425 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,430 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,435 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,443 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,448 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,456 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,465 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,471 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,477 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,484 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,490 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,500 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,518 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,530 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,535 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,544 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,553 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,559 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,568 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,573 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,580 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,589 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,594 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,600 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,608 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,614 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,619 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,628 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,633 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,640 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,650 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,657 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,664 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,673 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,681 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,694 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,703 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,710 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,715 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,725 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,730 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,737 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,746 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,757 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,763 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,773 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,779 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,788 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,797 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,803 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,810 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,819 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,825 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,835 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,844 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,850 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,856 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,865 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,874 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,880 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,890 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,896 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,901 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,911 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,918 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,925 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,937 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,944 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,950 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,961 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,969 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:46,977 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:46,986 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:46,995 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,002 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,012 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,018 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,025 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,034 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,043 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,050 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,060 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,070 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,077 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,086 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,093 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,105 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,133 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,148 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,163 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,198 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,213 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,225 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,238 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,246 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,259 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,271 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,279 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,288 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,299 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,306 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,312 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,320 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,327 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,334 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,346 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,355 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,363 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,373 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,379 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,386 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,395 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,401 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,407 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,416 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,422 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,431 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,442 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,448 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,455 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,464 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,480 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,490 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,499 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,504 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,513 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,523 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,529 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,538 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,548 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,558 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,566 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,576 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,585 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,592 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,601 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,607 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,615 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,624 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,633 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,639 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,653 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,662 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,670 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,680 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,687 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,694 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,705 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,712 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,718 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,732 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,741 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,750 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,762 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,771 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,777 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,787 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,795 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,803 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,812 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,821 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,828 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,838 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,847 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,855 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,866 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,874 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,883 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,894 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,902 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,913 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,923 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,930 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,939 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,951 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,962 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:47,973 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:47,984 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:47,991 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,002 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,014 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,022 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,029 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,039 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,046 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,053 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,064 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,072 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,081 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,092 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,099 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,106 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,115 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,122 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,130 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,140 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,147 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,156 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,171 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,188 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,208 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,216 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,223 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,236 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,247 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,256 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,270 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,277 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,285 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,295 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,304 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,311 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,320 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,327 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,335 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,344 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,352 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,364 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,375 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,383 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,392 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,402 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,408 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,417 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,428 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,435 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,442 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,454 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,465 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,476 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,487 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,495 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,505 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,517 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,524 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,533 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,543 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,556 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,566 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,582 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,590 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,600 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,610 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,618 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,625 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,637 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,646 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,653 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,663 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,673 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,692 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,715 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,724 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,737 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,748 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,758 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,765 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,777 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,788 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,798 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,808 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,819 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,830 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,840 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,860 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,872 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,883 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,893 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,903 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,914 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,925 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,935 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,946 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,953 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,965 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:48,975 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:48,985 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:48,996 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,007 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,015 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,024 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,035 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,042 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,051 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,060 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,068 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,076 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,088 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,098 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,107 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,119 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,128 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,137 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,148 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,157 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,169 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,182 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,193 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,205 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,217 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,226 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,236 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,246 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,255 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,266 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,276 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,286 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,298 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,307 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,315 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,325 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,335 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,344 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,354 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,364 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,372 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,381 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,391 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,400 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,408 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,419 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,426 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,433 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,443 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,451 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,458 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,469 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,479 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,487 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,497 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,505 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,516 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,526 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,537 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,544 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,555 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,566 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,577 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,588 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,601 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,610 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,621 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,632 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,643 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,656 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,667 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,677 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,688 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,700 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,709 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,719 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,730 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,741 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,753 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,762 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,773 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,787 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,797 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,806 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,816 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,824 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,834 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,843 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,854 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,862 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,874 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,884 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,892 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,904 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,912 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,921 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,933 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,941 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,951 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,962 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:49,972 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:49,981 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:49,992 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,001 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,012 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,021 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,030 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,038 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,051 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,059 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,068 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,079 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,088 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,098 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,109 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,118 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,125 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,138 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,146 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,155 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,166 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,175 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,184 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,194 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,205 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,216 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,228 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,238 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,246 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,260 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,271 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,279 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,290 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,299 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,306 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,316 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,328 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,335 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,345 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,353 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,361 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,370 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,378 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,385 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,399 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,407 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,414 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,424 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,432 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,440 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,450 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,458 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,467 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,479 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,488 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,495 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,506 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,516 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,527 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,536 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,544 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,552 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,562 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,574 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,583 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,593 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,600 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,608 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,618 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,627 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,636 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,647 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,658 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,667 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,682 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,698 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,707 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,719 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,726 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,735 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,747 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,756 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,766 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,775 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,784 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,794 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,804 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,813 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,822 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,833 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,843 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,852 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,862 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,872 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,880 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,891 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,902 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,910 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,924 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,949 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,959 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,970 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:50,977 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:50,987 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:50,999 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,008 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,017 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,030 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,043 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,056 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,068 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,076 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,085 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,094 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,102 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,111 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,122 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,133 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,146 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,158 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,167 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,176 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,187 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,195 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,203 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,215 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,225 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,245 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,265 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,272 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,279 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,291 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,299 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,308 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,319 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,327 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,336 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,346 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,355 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,363 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,375 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,391 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,404 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,415 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,423 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,432 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,444 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,453 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,461 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,473 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,481 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,490 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,500 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,510 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,519 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,533 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,542 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,551 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,560 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,573 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,583 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,594 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,602 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,612 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,622 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,632 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,641 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,653 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,660 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,670 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,682 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,690 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,699 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,710 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,719 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,727 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,736 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,744 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,756 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,767 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,776 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,786 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,798 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,808 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,817 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,827 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,835 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,844 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,859 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,870 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,878 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,889 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,899 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,908 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,920 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,928 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,936 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,948 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,957 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,965 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:51,975 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:51,985 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:51,992 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,003 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,011 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,019 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,030 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,039 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,048 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,059 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,066 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,076 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,087 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,095 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,104 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,115 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,124 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,133 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,145 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,154 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,162 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,173 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,181 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,191 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,203 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,211 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,219 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,230 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,238 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,246 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,257 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,268 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,277 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,288 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,295 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,307 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,317 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,326 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,336 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,347 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,354 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,361 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,371 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,377 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,386 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,399 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,406 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,414 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,424 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,433 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,442 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,453 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,460 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,473 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,484 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,498 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,507 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,518 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,526 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,537 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,549 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,556 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,563 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,576 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,586 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,596 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,618 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,625 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,637 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,649 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,657 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,665 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,676 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,684 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,693 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,703 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,710 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,717 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,728 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,735 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,743 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,755 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,766 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,777 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,790 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,797 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,807 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,817 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,826 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,835 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,846 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,855 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,861 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,873 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,881 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,889 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,902 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,910 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,918 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,928 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,936 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,944 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,953 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,962 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,969 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:52,981 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:52,988 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:52,995 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,006 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,013 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,021 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,031 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,039 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,046 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,056 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,063 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,072 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,083 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,092 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,103 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,114 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,123 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,135 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,146 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,155 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,168 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,179 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,190 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,202 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,211 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,224 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,231 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,242 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,251 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,263 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,274 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,284 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,295 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,305 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,313 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,324 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,335 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,344 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,351 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,363 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,370 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,379 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,391 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,400 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,407 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,419 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,426 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,434 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,446 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,456 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,467 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,478 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,486 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,496 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,507 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,515 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,522 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,533 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,540 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,547 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,558 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,565 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,573 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,584 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,593 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,603 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,614 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,623 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,629 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,640 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,647 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,655 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,667 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,675 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,683 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,694 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,701 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,708 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,720 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,730 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,736 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,746 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,752 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,764 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,774 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,784 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,791 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,804 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,812 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,820 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,829 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,837 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,844 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,854 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,863 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,871 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,882 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,891 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,899 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,909 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,917 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,923 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,934 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,939 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,944 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,953 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,958 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,965 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:53,977 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:53,984 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:53,989 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,005 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,012 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,019 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,031 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,037 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,046 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,057 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,064 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,073 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,083 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,090 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,097 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,111 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,117 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,126 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,142 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,149 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,158 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,169 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,177 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,184 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,195 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,203 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,213 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,224 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,233 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,241 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,252 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,258 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,266 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,277 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,288 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,295 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,305 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,315 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,324 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,335 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,341 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,348 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,358 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,365 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,374 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,384 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,393 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,400 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,413 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,421 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,429 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,440 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,449 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,458 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,469 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,482 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,494 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,507 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,521 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,533 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,544 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,558 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,569 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,581 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,593 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,602 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,615 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,628 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,640 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,653 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,664 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,677 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,690 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,699 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,708 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,721 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,730 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,739 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,751 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,759 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,771 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,782 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,792 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,802 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,814 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,826 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,835 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,847 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,857 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,866 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,877 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,888 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,899 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,910 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,918 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,930 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,942 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,953 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,964 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:54,976 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:54,989 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:54,999 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,009 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,017 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,030 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,045 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,055 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,065 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,078 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,089 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,101 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,112 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,124 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,134 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,144 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,154 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,164 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,175 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,186 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,197 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,207 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,217 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,229 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,239 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,246 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,255 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,267 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,281 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,292 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,306 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,314 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,324 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,340 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,347 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,357 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,370 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,379 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,387 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,399 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,407 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,416 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,427 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,439 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,447 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,458 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,466 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,474 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,484 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,494 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,504 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,514 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,525 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,537 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,547 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,555 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,562 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,583 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,592 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,601 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,612 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,620 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,629 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,642 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,653 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,660 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,671 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,688 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,697 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,708 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,718 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,729 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,741 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,753 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,762 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,777 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,789 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,809 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,821 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,829 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,835 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,846 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,855 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,863 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,875 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,882 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,888 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,898 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,905 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,912 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,925 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,935 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,946 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,958 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,966 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:55,975 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:55,986 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:55,993 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,001 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,012 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,022 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,033 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,044 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,056 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,069 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,079 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,089 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,099 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,111 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,120 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,130 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,141 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,148 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,162 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,174 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,182 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,191 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,202 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,210 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,218 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,230 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,239 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,246 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,259 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,267 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,278 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,289 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,298 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,307 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,316 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,325 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,332 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,347 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,355 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,362 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,375 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,382 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,390 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,402 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,409 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,419 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,431 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,440 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,447 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,459 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,469 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,480 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,494 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,504 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,512 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,524 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,531 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,540 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,552 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,561 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,570 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,581 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,589 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,597 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,607 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,615 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,623 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,636 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,648 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,663 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,675 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,684 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,693 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,707 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,719 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,728 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,741 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,750 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,759 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,773 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,782 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,793 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,803 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,813 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,823 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,835 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,844 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,856 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,868 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,877 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,887 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,899 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,911 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,922 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,934 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,944 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,952 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,965 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:56,973 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:56,981 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:56,992 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,000 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,008 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,020 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,028 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,037 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,049 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,058 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,068 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,080 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,094 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,106 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,119 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,130 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,139 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,150 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,161 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,171 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,183 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,191 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,199 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,211 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,221 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,231 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,242 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,250 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,259 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,277 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,286 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,296 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,310 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,318 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,327 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,339 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,347 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,356 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,369 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,379 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,389 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,401 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,410 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,419 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,433 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,441 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,447 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,462 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,471 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,479 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,491 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,498 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,508 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,520 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,528 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,535 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,546 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,554 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,561 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,574 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,583 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,590 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,606 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,614 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,624 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,638 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,646 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,654 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,666 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,674 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,683 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,693 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,700 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,708 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,720 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,726 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,733 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,743 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,750 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,759 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,772 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,781 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,793 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,806 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,816 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,827 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,839 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,846 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,857 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,871 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,882 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,899 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,916 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,923 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,934 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,948 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,959 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,967 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:57,979 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:57,987 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:57,999 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,010 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,017 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,024 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,036 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,050 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,059 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,072 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,079 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,085 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,097 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,103 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,110 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,125 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,133 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,140 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,151 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,159 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,165 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,176 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,189 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,198 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,210 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,220 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,228 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,238 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,248 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,259 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,270 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,277 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,284 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,296 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,305 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,313 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,326 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,332 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,340 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,351 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,358 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,367 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,378 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,384 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,393 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,406 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,414 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,421 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,433 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,440 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,447 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,459 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,466 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,474 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,487 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,497 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,507 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,517 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,524 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,533 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,545 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,551 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,560 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,573 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,580 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,589 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,601 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,608 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,615 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,626 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,633 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,641 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,652 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,660 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,667 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,678 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,685 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,693 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,704 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,714 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,721 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,733 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,740 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,749 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,762 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,768 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,777 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,791 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,805 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,812 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,826 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,835 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,845 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,856 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,869 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,880 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,890 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,900 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,910 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,923 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,932 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,941 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,952 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,960 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,967 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:58,979 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:58,986 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:58,994 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,007 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,017 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,031 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,043 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,051 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,061 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,072 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,080 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,088 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,100 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,111 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,131 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,143 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,153 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,166 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,180 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,189 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,202 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,216 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,229 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,241 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,252 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,264 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,273 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,285 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,294 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,305 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,317 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,330 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,342 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,356 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,367 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,376 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,393 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,401 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,415 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,430 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,446 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,454 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,468 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,477 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,486 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,499 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,508 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,518 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,530 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,543 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,551 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,562 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,575 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,585 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,598 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,606 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,614 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,627 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,636 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,643 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,654 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,662 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,670 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,681 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,689 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,696 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,709 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,717 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,724 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,736 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,743 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,751 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,762 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,770 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,777 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,790 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,801 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,809 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,822 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,832 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,845 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,857 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,865 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,874 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,886 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,894 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,901 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,912 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,919 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,927 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,938 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,948 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,958 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:54:59,970 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:54:59,979 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:54:59,988 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,000 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,009 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,018 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,031 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,042 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,050 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,062 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,070 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,078 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,091 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,099 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,108 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,123 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,131 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,142 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,154 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,163 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,170 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,182 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,191 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,199 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,213 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,221 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,230 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,242 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,252 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,261 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,273 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,282 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,292 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,305 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,313 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,322 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,336 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,345 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,356 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,370 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,404 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (27ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,417 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,430 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,437 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,446 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,460 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,472 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,483 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,511 [56   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:55:00,515 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,518 [56   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:00,545 [56   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 25.3298ms 204 
INFO  2025-04-03 15:55:00,549 [56   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:55:00,553 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (29ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,556 [56   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:00,558 [56   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:55:00,562 [56   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:55:00,578 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,587 [56   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:55:00,594 [56   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:55:00,597 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,606 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,618 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,631 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:55:00,636 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,644 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,647 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:55:00,651 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,661 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,668 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,675 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,685 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,687 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:00,689 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 100.2128ms
INFO  2025-04-03 15:55:00,691 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:55:00,693 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 146.1185ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:55:00,695 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,704 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,721 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,729 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,736 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,751 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,758 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,769 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,781 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,788 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,797 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,839 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,856 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,873 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,893 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,902 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,910 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,926 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,937 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,947 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,964 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:00,974 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:00,983 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:00,996 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,003 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,011 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,022 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,029 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,036 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,047 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,057 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,069 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,082 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,090 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,099 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,113 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,120 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,130 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,141 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,151 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,162 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,175 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,186 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,195 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,210 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,218 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,225 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,237 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,244 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,251 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,263 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,275 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,283 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,297 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,303 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,313 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,325 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,333 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,343 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,358 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,365 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,378 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,391 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,402 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,412 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,424 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,430 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,437 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,449 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,459 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,466 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,479 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,492 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,502 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,513 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,520 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,528 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,543 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,550 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,561 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,574 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,580 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,587 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,599 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,607 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,614 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,626 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,635 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,643 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,656 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,665 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,677 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,689 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,697 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,706 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,719 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,726 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,734 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,746 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,759 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,769 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,783 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,794 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,805 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,818 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,824 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,837 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,853 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,863 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,871 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,886 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,898 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,912 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,935 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,943 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,953 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:01,965 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:01,975 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:01,990 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,003 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,010 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,021 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,036 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,044 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,058 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,071 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,084 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,100 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,128 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,135 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,153 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,164 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,170 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,182 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,193 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,199 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,207 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,219 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,225 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,232 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,245 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,251 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,265 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,277 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,283 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,294 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,307 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,321 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,330 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,343 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,349 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,360 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,379 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,386 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,393 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,408 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,414 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,420 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,433 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,440 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,447 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,459 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,465 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,474 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,489 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,496 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,503 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,518 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,526 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,533 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,544 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,549 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,557 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,574 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,580 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,589 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,602 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,609 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,616 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,627 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,633 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,639 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,651 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,657 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,662 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,673 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,679 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,686 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,696 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,702 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,709 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,722 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,728 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,735 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,753 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,769 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,777 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,788 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,794 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,801 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,814 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,820 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,831 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,842 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,850 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,859 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,871 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,877 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,883 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,899 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,907 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,914 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,925 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,934 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,942 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,953 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,959 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:02,967 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:02,982 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:02,991 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,000 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,016 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,022 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,030 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,046 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,053 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,061 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,072 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,081 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,087 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,099 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,109 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,116 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,128 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,135 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,141 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,154 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,162 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,170 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,182 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,190 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,202 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,217 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,224 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,239 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,254 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,260 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,268 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,280 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,287 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,301 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,318 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,326 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,332 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,344 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,349 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,359 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,373 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,382 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,389 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,402 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,408 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,415 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,426 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,434 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,444 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,454 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,460 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,465 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,476 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,481 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,490 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,501 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,508 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,543 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (31ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,554 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,560 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,568 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,579 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,585 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,594 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,606 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,613 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,621 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,632 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,640 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,646 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,658 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,665 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,671 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,682 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,687 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,694 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,707 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,713 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,720 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,734 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,741 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,747 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,759 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,765 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,771 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,782 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,788 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,794 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,806 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,812 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,818 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,830 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,839 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,846 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,857 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,864 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,870 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,883 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,889 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,894 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,905 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,911 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,918 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,929 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,936 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,942 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,952 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,959 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,965 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:03,976 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:03,984 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:03,994 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,005 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,011 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,018 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,029 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,037 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,045 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,056 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,063 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,070 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,086 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,093 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,102 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,114 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,121 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,134 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,146 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,153 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,161 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,172 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,178 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,185 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,198 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,204 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,211 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,223 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,230 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,236 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,248 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,254 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,265 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,277 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,282 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,289 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,299 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,305 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,316 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,327 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,333 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,341 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,352 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,358 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,366 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,383 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,388 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,394 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,410 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,415 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,422 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,433 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,441 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,451 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,465 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,471 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,477 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,488 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,496 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,505 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,516 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,523 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,530 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,542 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,549 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,555 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,566 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,572 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,578 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,591 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,597 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,603 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,615 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,621 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,628 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,641 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,648 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,656 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,667 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,673 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,679 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,692 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,699 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,707 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,718 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,724 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,730 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,741 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,747 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,755 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,766 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,772 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,774 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:55:04,776 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:04,778 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7473ms 204 
INFO  2025-04-03 15:55:04,780 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:55:04,782 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,817 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:04,820 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:55:04,848 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:04,855 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:55:04,857 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,861 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,869 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,882 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,888 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,895 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,899 [38   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:04,901 [38   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 43.1307ms
INFO  2025-04-03 15:55:04,905 [38   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:04,907 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 126.7081ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:55:04,914 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,942 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,953 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,967 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:04,973 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:04,980 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:04,995 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,001 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,009 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,021 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,027 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,036 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,048 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,054 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,061 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,074 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,080 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,089 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,105 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,124 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,130 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,142 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,148 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,154 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,166 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,172 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,180 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,192 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,198 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,206 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,222 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,228 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,235 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,247 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,253 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,259 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,271 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,277 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,283 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,298 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,304 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,310 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,325 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,332 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,338 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,350 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,357 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,369 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,381 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,387 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,395 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,410 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,418 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,426 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,437 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,443 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,451 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,464 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,471 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,479 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,491 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,499 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,508 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,519 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,526 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,532 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,544 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,550 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,558 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,573 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,582 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,588 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,600 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,607 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,613 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,625 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,632 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,641 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,653 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,659 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,667 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,679 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,685 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,691 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,702 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,708 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,713 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,725 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,731 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,737 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,753 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,760 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,766 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,778 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,783 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,790 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,801 [58   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,806 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,817 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,828 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,836 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,845 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,857 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,863 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,874 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,886 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,892 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,898 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,910 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,916 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,921 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,933 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,942 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,954 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,965 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:05,971 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:05,981 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:05,997 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,005 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,012 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,026 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,032 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,040 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,053 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,060 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,067 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,081 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,088 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,095 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,108 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,114 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,121 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,133 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,139 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,146 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,157 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,163 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,170 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,181 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,191 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,202 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,215 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,223 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,230 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,243 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,250 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,262 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,275 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,283 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,292 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,305 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,311 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,327 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,339 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,347 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,354 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,366 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,377 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,385 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,400 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,407 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,415 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,426 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,434 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,439 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,451 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,457 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,463 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,475 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,483 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,490 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,501 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,508 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,518 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,534 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,539 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,547 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,562 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,573 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,580 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,594 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,603 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,612 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,626 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,632 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,638 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,653 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,660 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,667 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,685 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,694 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,701 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,713 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,718 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,725 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,740 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,746 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,761 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,783 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,788 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,797 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,810 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,816 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,827 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,841 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,849 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,860 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,872 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,880 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,891 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,913 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,923 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,930 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,943 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,950 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,957 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:06,968 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:06,974 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:06,987 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,000 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,007 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,015 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,031 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,040 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,051 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,063 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,068 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,074 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,088 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,097 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,105 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,117 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,123 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,133 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,145 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,151 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,159 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,172 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:55:07,179 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:55:07,187 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND (`t`.`SourceId` = @__item_Id_0)
LIMIT 1
INFO  2025-04-03 15:55:07,300 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64), @p1787='?' (DbType = Int32), @p1782='?' (DbType = Int32), @p1783='?' (DbType = Boolean), @p1784='?' (DbType = Boolean), @p1785='?' (Size = 4000), @p1786='?' (DbType = Int64), @p1793='?' (DbType = Int32), @p1788='?' (DbType = Int32), @p1789='?' (DbType = Boolean), @p1790='?' (DbType = Boolean), @p1791='?' (Size = 4000), @p1792='?' (DbType = Int64), @p1799='?' (DbType = Int32), @p1794='?' (DbType = Int32), @p1795='?' (DbType = Boolean), @p1796='?' (DbType = Boolean), @p1797='?' (Size = 4000), @p1798='?' (DbType = Int64), @p1805='?' (DbType = Int32), @p1800='?' (DbType = Int32), @p1801='?' (DbType = Boolean), @p1802='?' (DbType = Boolean), @p1803='?' (Size = 4000), @p1804='?' (DbType = Int64), @p1811='?' (DbType = Int32), @p1806='?' (DbType = Int32), @p1807='?' (DbType = Boolean), @p1808='?' (DbType = Boolean), @p1809='?' (Size = 4000), @p1810='?' (DbType = Int64), @p1817='?' (DbType = Int32), @p1812='?' (DbType = Int32), @p1813='?' (DbType = Boolean), @p1814='?' (DbType = Boolean), @p1815='?' (Size = 4000), @p1816='?' (DbType = Int64), @p1823='?' (DbType = Int32), @p1818='?' (DbType = Int32), @p1819='?' (DbType = Boolean), @p1820='?' (DbType = Boolean), @p1821='?' (Size = 4000), @p1822='?' (DbType = Int64), @p1829='?' (DbType = Int32), @p1824='?' (DbType = Int32), @p1825='?' (DbType = Boolean), @p1826='?' (DbType = Boolean), @p1827='?' (Size = 4000), @p1828='?' (DbType = Int64), @p1835='?' (DbType = Int32), @p1830='?' (DbType = Int32), @p1831='?' (DbType = Boolean), @p1832='?' (DbType = Boolean), @p1833='?' (Size = 4000), @p1834='?' (DbType = Int64), @p1841='?' (DbType = Int32), @p1836='?' (DbType = Int32), @p1837='?' (DbType = Boolean), @p1838='?' (DbType = Boolean), @p1839='?' (Size = 4000), @p1840='?' (DbType = Int64), @p1847='?' (DbType = Int32), @p1842='?' (DbType = Int32), @p1843='?' (DbType = Boolean), @p1844='?' (DbType = Boolean), @p1845='?' (Size = 4000), @p1846='?' (DbType = Int64), @p1853='?' (DbType = Int32), @p1848='?' (DbType = Int32), @p1849='?' (DbType = Boolean), @p1850='?' (DbType = Boolean), @p1851='?' (Size = 4000), @p1852='?' (DbType = Int64), @p1859='?' (DbType = Int32), @p1854='?' (DbType = Int32), @p1855='?' (DbType = Boolean), @p1856='?' (DbType = Boolean), @p1857='?' (Size = 4000), @p1858='?' (DbType = Int64), @p1865='?' (DbType = Int32), @p1860='?' (DbType = Int32), @p1861='?' (DbType = Boolean), @p1862='?' (DbType = Boolean), @p1863='?' (Size = 4000), @p1864='?' (DbType = Int64), @p1871='?' (DbType = Int32), @p1866='?' (DbType = Int32), @p1867='?' (DbType = Boolean), @p1868='?' (DbType = Boolean), @p1869='?' (Size = 4000), @p1870='?' (DbType = Int64), @p1877='?' (DbType = Int32), @p1872='?' (DbType = Int32), @p1873='?' (DbType = Boolean), @p1874='?' (DbType = Boolean), @p1875='?' (Size = 4000), @p1876='?' (DbType = Int64), @p1883='?' (DbType = Int32), @p1878='?' (DbType = Int32), @p1879='?' (DbType = Boolean), @p1880='?' (DbType = Boolean), @p1881='?' (Size = 4000), @p1882='?' (DbType = Int64), @p1889='?' (DbType = Int32), @p1884='?' (DbType = Int32), @p1885='?' (DbType = Boolean), @p1886='?' (DbType = Boolean), @p1887='?' (Size = 4000), @p1888='?' (DbType = Int64), @p1895='?' (DbType = Int32), @p1890='?' (DbType = Int32), @p1891='?' (DbType = Boolean), @p1892='?' (DbType = Boolean), @p1893='?' (Size = 4000), @p1894='?' (DbType = Int64), @p1901='?' (DbType = Int32), @p1896='?' (DbType = Int32), @p1897='?' (DbType = Boolean), @p1898='?' (DbType = Boolean), @p1899='?' (Size = 4000), @p1900='?' (DbType = Int64), @p1907='?' (DbType = Int32), @p1902='?' (DbType = Int32), @p1903='?' (DbType = Boolean), @p1904='?' (DbType = Boolean), @p1905='?' (Size = 4000), @p1906='?' (DbType = Int64), @p1913='?' (DbType = Int32), @p1908='?' (DbType = Int32), @p1909='?' (DbType = Boolean), @p1910='?' (DbType = Boolean), @p1911='?' (Size = 4000), @p1912='?' (DbType = Int64), @p1919='?' (DbType = Int32), @p1914='?' (DbType = Int32), @p1915='?' (DbType = Boolean), @p1916='?' (DbType = Boolean), @p1917='?' (Size = 4000), @p1918='?' (DbType = Int64), @p1925='?' (DbType = Int32), @p1920='?' (DbType = Int32), @p1921='?' (DbType = Boolean), @p1922='?' (DbType = Boolean), @p1923='?' (Size = 4000), @p1924='?' (DbType = Int64), @p1931='?' (DbType = Int32), @p1926='?' (DbType = Int32), @p1927='?' (DbType = Boolean), @p1928='?' (DbType = Boolean), @p1929='?' (Size = 4000), @p1930='?' (DbType = Int64), @p1937='?' (DbType = Int32), @p1932='?' (DbType = Int32), @p1933='?' (DbType = Boolean), @p1934='?' (DbType = Boolean), @p1935='?' (Size = 4000), @p1936='?' (DbType = Int64), @p1943='?' (DbType = Int32), @p1938='?' (DbType = Int32), @p1939='?' (DbType = Boolean), @p1940='?' (DbType = Boolean), @p1941='?' (Size = 4000), @p1942='?' (DbType = Int64), @p1949='?' (DbType = Int32), @p1944='?' (DbType = Int32), @p1945='?' (DbType = Boolean), @p1946='?' (DbType = Boolean), @p1947='?' (Size = 4000), @p1948='?' (DbType = Int64), @p1955='?' (DbType = Int32), @p1950='?' (DbType = Int32), @p1951='?' (DbType = Boolean), @p1952='?' (DbType = Boolean), @p1953='?' (Size = 4000), @p1954='?' (DbType = Int64), @p1961='?' (DbType = Int32), @p1956='?' (DbType = Int32), @p1957='?' (DbType = Boolean), @p1958='?' (DbType = Boolean), @p1959='?' (Size = 4000), @p1960='?' (DbType = Int64), @p1967='?' (DbType = Int32), @p1962='?' (DbType = Int32), @p1963='?' (DbType = Boolean), @p1964='?' (DbType = Boolean), @p1965='?' (Size = 4000), @p1966='?' (DbType = Int64), @p1973='?' (DbType = Int32), @p1968='?' (DbType = Int32), @p1969='?' (DbType = Boolean), @p1970='?' (DbType = Boolean), @p1971='?' (Size = 4000), @p1972='?' (DbType = Int64), @p1979='?' (DbType = Int32), @p1974='?' (DbType = Int32), @p1975='?' (DbType = Boolean), @p1976='?' (DbType = Boolean), @p1977='?' (Size = 4000), @p1978='?' (DbType = Int64), @p1985='?' (DbType = Int32), @p1980='?' (DbType = Int32), @p1981='?' (DbType = Boolean), @p1982='?' (DbType = Boolean), @p1983='?' (Size = 4000), @p1984='?' (DbType = Int64), @p1991='?' (DbType = Int32), @p1986='?' (DbType = Int32), @p1987='?' (DbType = Boolean), @p1988='?' (DbType = Boolean), @p1989='?' (Size = 4000), @p1990='?' (DbType = Int64), @p1997='?' (DbType = Int32), @p1992='?' (DbType = Int32), @p1993='?' (DbType = Boolean), @p1994='?' (DbType = Boolean), @p1995='?' (Size = 4000), @p1996='?' (DbType = Int64), @p2003='?' (DbType = Int32), @p1998='?' (DbType = Int32), @p1999='?' (DbType = Boolean), @p2000='?' (DbType = Boolean), @p2001='?' (Size = 4000), @p2002='?' (DbType = Int64), @p2009='?' (DbType = Int32), @p2004='?' (DbType = Int32), @p2005='?' (DbType = Boolean), @p2006='?' (DbType = Boolean), @p2007='?' (Size = 4000), @p2008='?' (DbType = Int64), @p2015='?' (DbType = Int32), @p2010='?' (DbType = Int32), @p2011='?' (DbType = Boolean), @p2012='?' (DbType = Boolean), @p2013='?' (Size = 4000), @p2014='?' (DbType = Int64), @p2021='?' (DbType = Int32), @p2016='?' (DbType = Int32), @p2017='?' (DbType = Boolean), @p2018='?' (DbType = Boolean), @p2019='?' (Size = 4000), @p2020='?' (DbType = Int64), @p2027='?' (DbType = Int32), @p2022='?' (DbType = Int32), @p2023='?' (DbType = Boolean), @p2024='?' (DbType = Boolean), @p2025='?' (Size = 4000), @p2026='?' (DbType = Int64), @p2033='?' (DbType = Int32), @p2028='?' (DbType = Int32), @p2029='?' (DbType = Boolean), @p2030='?' (DbType = Boolean), @p2031='?' (Size = 4000), @p2032='?' (DbType = Int64), @p2039='?' (DbType = Int32), @p2034='?' (DbType = Int32), @p2035='?' (DbType = Boolean), @p2036='?' (DbType = Boolean), @p2037='?' (Size = 4000), @p2038='?' (DbType = Int64), @p2045='?' (DbType = Int32), @p2040='?' (DbType = Int32), @p2041='?' (DbType = Boolean), @p2042='?' (DbType = Boolean), @p2043='?' (Size = 4000), @p2044='?' (DbType = Int64), @p2051='?' (DbType = Int32), @p2046='?' (DbType = Int32), @p2047='?' (DbType = Boolean), @p2048='?' (DbType = Boolean), @p2049='?' (Size = 4000), @p2050='?' (DbType = Int64), @p2057='?' (DbType = Int32), @p2052='?' (DbType = Int32), @p2053='?' (DbType = Boolean), @p2054='?' (DbType = Boolean), @p2055='?' (Size = 4000), @p2056='?' (DbType = Int64), @p2063='?' (DbType = Int32), @p2058='?' (DbType = Int32), @p2059='?' (DbType = Boolean), @p2060='?' (DbType = Boolean), @p2061='?' (Size = 4000), @p2062='?' (DbType = Int64), @p2069='?' (DbType = Int32), @p2064='?' (DbType = Int32), @p2065='?' (DbType = Boolean), @p2066='?' (DbType = Boolean), @p2067='?' (Size = 4000), @p2068='?' (DbType = Int64), @p2075='?' (DbType = Int32), @p2070='?' (DbType = Int32), @p2071='?' (DbType = Boolean), @p2072='?' (DbType = Boolean), @p2073='?' (Size = 4000), @p2074='?' (DbType = Int64), @p2081='?' (DbType = Int32), @p2076='?' (DbType = Int32), @p2077='?' (DbType = Boolean), @p2078='?' (DbType = Boolean), @p2079='?' (Size = 4000), @p2080='?' (DbType = Int64), @p2087='?' (DbType = Int32), @p2082='?' (DbType = Int32), @p2083='?' (DbType = Boolean), @p2084='?' (DbType = Boolean), @p2085='?' (Size = 4000), @p2086='?' (DbType = Int64), @p2093='?' (DbType = Int32), @p2088='?' (DbType = Int32), @p2089='?' (DbType = Boolean), @p2090='?' (DbType = Boolean), @p2091='?' (Size = 4000), @p2092='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1782, `IsActive` = @p1783, `IsDeleted` = @p1784, `Name` = @p1785, `SourceId` = @p1786
WHERE `Id` = @p1787;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1788, `IsActive` = @p1789, `IsDeleted` = @p1790, `Name` = @p1791, `SourceId` = @p1792
WHERE `Id` = @p1793;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1794, `IsActive` = @p1795, `IsDeleted` = @p1796, `Name` = @p1797, `SourceId` = @p1798
WHERE `Id` = @p1799;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1800, `IsActive` = @p1801, `IsDeleted` = @p1802, `Name` = @p1803, `SourceId` = @p1804
WHERE `Id` = @p1805;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1806, `IsActive` = @p1807, `IsDeleted` = @p1808, `Name` = @p1809, `SourceId` = @p1810
WHERE `Id` = @p1811;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1812, `IsActive` = @p1813, `IsDeleted` = @p1814, `Name` = @p1815, `SourceId` = @p1816
WHERE `Id` = @p1817;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1818, `IsActive` = @p1819, `IsDeleted` = @p1820, `Name` = @p1821, `SourceId` = @p1822
WHERE `Id` = @p1823;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1824, `IsActive` = @p1825, `IsDeleted` = @p1826, `Name` = @p1827, `SourceId` = @p1828
WHERE `Id` = @p1829;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1830, `IsActive` = @p1831, `IsDeleted` = @p1832, `Name` = @p1833, `SourceId` = @p1834
WHERE `Id` = @p1835;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1836, `IsActive` = @p1837, `IsDeleted` = @p1838, `Name` = @p1839, `SourceId` = @p1840
WHERE `Id` = @p1841;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1842, `IsActive` = @p1843, `IsDeleted` = @p1844, `Name` = @p1845, `SourceId` = @p1846
WHERE `Id` = @p1847;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1848, `IsActive` = @p1849, `IsDeleted` = @p1850, `Name` = @p1851, `SourceId` = @p1852
WHERE `Id` = @p1853;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1854, `IsActive` = @p1855, `IsDeleted` = @p1856, `Name` = @p1857, `SourceId` = @p1858
WHERE `Id` = @p1859;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1860, `IsActive` = @p1861, `IsDeleted` = @p1862, `Name` = @p1863, `SourceId` = @p1864
WHERE `Id` = @p1865;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1866, `IsActive` = @p1867, `IsDeleted` = @p1868, `Name` = @p1869, `SourceId` = @p1870
WHERE `Id` = @p1871;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1872, `IsActive` = @p1873, `IsDeleted` = @p1874, `Name` = @p1875, `SourceId` = @p1876
WHERE `Id` = @p1877;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1878, `IsActive` = @p1879, `IsDeleted` = @p1880, `Name` = @p1881, `SourceId` = @p1882
WHERE `Id` = @p1883;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1884, `IsActive` = @p1885, `IsDeleted` = @p1886, `Name` = @p1887, `SourceId` = @p1888
WHERE `Id` = @p1889;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1890, `IsActive` = @p1891, `IsDeleted` = @p1892, `Name` = @p1893, `SourceId` = @p1894
WHERE `Id` = @p1895;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1896, `IsActive` = @p1897, `IsDeleted` = @p1898, `Name` = @p1899, `SourceId` = @p1900
WHERE `Id` = @p1901;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1902, `IsActive` = @p1903, `IsDeleted` = @p1904, `Name` = @p1905, `SourceId` = @p1906
WHERE `Id` = @p1907;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1908, `IsActive` = @p1909, `IsDeleted` = @p1910, `Name` = @p1911, `SourceId` = @p1912
WHERE `Id` = @p1913;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1914, `IsActive` = @p1915, `IsDeleted` = @p1916, `Name` = @p1917, `SourceId` = @p1918
WHERE `Id` = @p1919;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1920, `IsActive` = @p1921, `IsDeleted` = @p1922, `Name` = @p1923, `SourceId` = @p1924
WHERE `Id` = @p1925;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1926, `IsActive` = @p1927, `IsDeleted` = @p1928, `Name` = @p1929, `SourceId` = @p1930
WHERE `Id` = @p1931;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1932, `IsActive` = @p1933, `IsDeleted` = @p1934, `Name` = @p1935, `SourceId` = @p1936
WHERE `Id` = @p1937;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1938, `IsActive` = @p1939, `IsDeleted` = @p1940, `Name` = @p1941, `SourceId` = @p1942
WHERE `Id` = @p1943;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1944, `IsActive` = @p1945, `IsDeleted` = @p1946, `Name` = @p1947, `SourceId` = @p1948
WHERE `Id` = @p1949;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1950, `IsActive` = @p1951, `IsDeleted` = @p1952, `Name` = @p1953, `SourceId` = @p1954
WHERE `Id` = @p1955;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1956, `IsActive` = @p1957, `IsDeleted` = @p1958, `Name` = @p1959, `SourceId` = @p1960
WHERE `Id` = @p1961;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1962, `IsActive` = @p1963, `IsDeleted` = @p1964, `Name` = @p1965, `SourceId` = @p1966
WHERE `Id` = @p1967;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1968, `IsActive` = @p1969, `IsDeleted` = @p1970, `Name` = @p1971, `SourceId` = @p1972
WHERE `Id` = @p1973;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1974, `IsActive` = @p1975, `IsDeleted` = @p1976, `Name` = @p1977, `SourceId` = @p1978
WHERE `Id` = @p1979;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1980, `IsActive` = @p1981, `IsDeleted` = @p1982, `Name` = @p1983, `SourceId` = @p1984
WHERE `Id` = @p1985;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1986, `IsActive` = @p1987, `IsDeleted` = @p1988, `Name` = @p1989, `SourceId` = @p1990
WHERE `Id` = @p1991;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1992, `IsActive` = @p1993, `IsDeleted` = @p1994, `Name` = @p1995, `SourceId` = @p1996
WHERE `Id` = @p1997;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1998, `IsActive` = @p1999, `IsDeleted` = @p2000, `Name` = @p2001, `SourceId` = @p2002
WHERE `Id` = @p2003;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2004, `IsActive` = @p2005, `IsDeleted` = @p2006, `Name` = @p2007, `SourceId` = @p2008
WHERE `Id` = @p2009;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2010, `IsActive` = @p2011, `IsDeleted` = @p2012, `Name` = @p2013, `SourceId` = @p2014
WHERE `Id` = @p2015;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2016, `IsActive` = @p2017, `IsDeleted` = @p2018, `Name` = @p2019, `SourceId` = @p2020
WHERE `Id` = @p2021;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2022, `IsActive` = @p2023, `IsDeleted` = @p2024, `Name` = @p2025, `SourceId` = @p2026
WHERE `Id` = @p2027;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2028, `IsActive` = @p2029, `IsDeleted` = @p2030, `Name` = @p2031, `SourceId` = @p2032
WHERE `Id` = @p2033;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2034, `IsActive` = @p2035, `IsDeleted` = @p2036, `Name` = @p2037, `SourceId` = @p2038
WHERE `Id` = @p2039;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2040, `IsActive` = @p2041, `IsDeleted` = @p2042, `Name` = @p2043, `SourceId` = @p2044
WHERE `Id` = @p2045;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2046, `IsActive` = @p2047, `IsDeleted` = @p2048, `Name` = @p2049, `SourceId` = @p2050
WHERE `Id` = @p2051;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2052, `IsActive` = @p2053, `IsDeleted` = @p2054, `Name` = @p2055, `SourceId` = @p2056
WHERE `Id` = @p2057;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2058, `IsActive` = @p2059, `IsDeleted` = @p2060, `Name` = @p2061, `SourceId` = @p2062
WHERE `Id` = @p2063;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2064, `IsActive` = @p2065, `IsDeleted` = @p2066, `Name` = @p2067, `SourceId` = @p2068
WHERE `Id` = @p2069;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2070, `IsActive` = @p2071, `IsDeleted` = @p2072, `Name` = @p2073, `SourceId` = @p2074
WHERE `Id` = @p2075;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2076, `IsActive` = @p2077, `IsDeleted` = @p2078, `Name` = @p2079, `SourceId` = @p2080
WHERE `Id` = @p2081;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2082, `IsActive` = @p2083, `IsDeleted` = @p2084, `Name` = @p2085, `SourceId` = @p2086
WHERE `Id` = @p2087;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2088, `IsActive` = @p2089, `IsDeleted` = @p2090, `Name` = @p2091, `SourceId` = @p2092
WHERE `Id` = @p2093;
SELECT ROW_COUNT();
INFO  2025-04-03 15:55:07,365 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64), @p1787='?' (DbType = Int32), @p1782='?' (DbType = Int32), @p1783='?' (DbType = Boolean), @p1784='?' (DbType = Boolean), @p1785='?' (Size = 4000), @p1786='?' (DbType = Int64), @p1793='?' (DbType = Int32), @p1788='?' (DbType = Int32), @p1789='?' (DbType = Boolean), @p1790='?' (DbType = Boolean), @p1791='?' (Size = 4000), @p1792='?' (DbType = Int64), @p1799='?' (DbType = Int32), @p1794='?' (DbType = Int32), @p1795='?' (DbType = Boolean), @p1796='?' (DbType = Boolean), @p1797='?' (Size = 4000), @p1798='?' (DbType = Int64), @p1805='?' (DbType = Int32), @p1800='?' (DbType = Int32), @p1801='?' (DbType = Boolean), @p1802='?' (DbType = Boolean), @p1803='?' (Size = 4000), @p1804='?' (DbType = Int64), @p1811='?' (DbType = Int32), @p1806='?' (DbType = Int32), @p1807='?' (DbType = Boolean), @p1808='?' (DbType = Boolean), @p1809='?' (Size = 4000), @p1810='?' (DbType = Int64), @p1817='?' (DbType = Int32), @p1812='?' (DbType = Int32), @p1813='?' (DbType = Boolean), @p1814='?' (DbType = Boolean), @p1815='?' (Size = 4000), @p1816='?' (DbType = Int64), @p1823='?' (DbType = Int32), @p1818='?' (DbType = Int32), @p1819='?' (DbType = Boolean), @p1820='?' (DbType = Boolean), @p1821='?' (Size = 4000), @p1822='?' (DbType = Int64), @p1829='?' (DbType = Int32), @p1824='?' (DbType = Int32), @p1825='?' (DbType = Boolean), @p1826='?' (DbType = Boolean), @p1827='?' (Size = 4000), @p1828='?' (DbType = Int64), @p1835='?' (DbType = Int32), @p1830='?' (DbType = Int32), @p1831='?' (DbType = Boolean), @p1832='?' (DbType = Boolean), @p1833='?' (Size = 4000), @p1834='?' (DbType = Int64), @p1841='?' (DbType = Int32), @p1836='?' (DbType = Int32), @p1837='?' (DbType = Boolean), @p1838='?' (DbType = Boolean), @p1839='?' (Size = 4000), @p1840='?' (DbType = Int64), @p1847='?' (DbType = Int32), @p1842='?' (DbType = Int32), @p1843='?' (DbType = Boolean), @p1844='?' (DbType = Boolean), @p1845='?' (Size = 4000), @p1846='?' (DbType = Int64), @p1853='?' (DbType = Int32), @p1848='?' (DbType = Int32), @p1849='?' (DbType = Boolean), @p1850='?' (DbType = Boolean), @p1851='?' (Size = 4000), @p1852='?' (DbType = Int64), @p1859='?' (DbType = Int32), @p1854='?' (DbType = Int32), @p1855='?' (DbType = Boolean), @p1856='?' (DbType = Boolean), @p1857='?' (Size = 4000), @p1858='?' (DbType = Int64), @p1865='?' (DbType = Int32), @p1860='?' (DbType = Int32), @p1861='?' (DbType = Boolean), @p1862='?' (DbType = Boolean), @p1863='?' (Size = 4000), @p1864='?' (DbType = Int64), @p1871='?' (DbType = Int32), @p1866='?' (DbType = Int32), @p1867='?' (DbType = Boolean), @p1868='?' (DbType = Boolean), @p1869='?' (Size = 4000), @p1870='?' (DbType = Int64), @p1877='?' (DbType = Int32), @p1872='?' (DbType = Int32), @p1873='?' (DbType = Boolean), @p1874='?' (DbType = Boolean), @p1875='?' (Size = 4000), @p1876='?' (DbType = Int64), @p1883='?' (DbType = Int32), @p1878='?' (DbType = Int32), @p1879='?' (DbType = Boolean), @p1880='?' (DbType = Boolean), @p1881='?' (Size = 4000), @p1882='?' (DbType = Int64), @p1889='?' (DbType = Int32), @p1884='?' (DbType = Int32), @p1885='?' (DbType = Boolean), @p1886='?' (DbType = Boolean), @p1887='?' (Size = 4000), @p1888='?' (DbType = Int64), @p1895='?' (DbType = Int32), @p1890='?' (DbType = Int32), @p1891='?' (DbType = Boolean), @p1892='?' (DbType = Boolean), @p1893='?' (Size = 4000), @p1894='?' (DbType = Int64), @p1901='?' (DbType = Int32), @p1896='?' (DbType = Int32), @p1897='?' (DbType = Boolean), @p1898='?' (DbType = Boolean), @p1899='?' (Size = 4000), @p1900='?' (DbType = Int64), @p1907='?' (DbType = Int32), @p1902='?' (DbType = Int32), @p1903='?' (DbType = Boolean), @p1904='?' (DbType = Boolean), @p1905='?' (Size = 4000), @p1906='?' (DbType = Int64), @p1913='?' (DbType = Int32), @p1908='?' (DbType = Int32), @p1909='?' (DbType = Boolean), @p1910='?' (DbType = Boolean), @p1911='?' (Size = 4000), @p1912='?' (DbType = Int64), @p1919='?' (DbType = Int32), @p1914='?' (DbType = Int32), @p1915='?' (DbType = Boolean), @p1916='?' (DbType = Boolean), @p1917='?' (Size = 4000), @p1918='?' (DbType = Int64), @p1925='?' (DbType = Int32), @p1920='?' (DbType = Int32), @p1921='?' (DbType = Boolean), @p1922='?' (DbType = Boolean), @p1923='?' (Size = 4000), @p1924='?' (DbType = Int64), @p1931='?' (DbType = Int32), @p1926='?' (DbType = Int32), @p1927='?' (DbType = Boolean), @p1928='?' (DbType = Boolean), @p1929='?' (Size = 4000), @p1930='?' (DbType = Int64), @p1937='?' (DbType = Int32), @p1932='?' (DbType = Int32), @p1933='?' (DbType = Boolean), @p1934='?' (DbType = Boolean), @p1935='?' (Size = 4000), @p1936='?' (DbType = Int64), @p1943='?' (DbType = Int32), @p1938='?' (DbType = Int32), @p1939='?' (DbType = Boolean), @p1940='?' (DbType = Boolean), @p1941='?' (Size = 4000), @p1942='?' (DbType = Int64), @p1949='?' (DbType = Int32), @p1944='?' (DbType = Int32), @p1945='?' (DbType = Boolean), @p1946='?' (DbType = Boolean), @p1947='?' (Size = 4000), @p1948='?' (DbType = Int64), @p1955='?' (DbType = Int32), @p1950='?' (DbType = Int32), @p1951='?' (DbType = Boolean), @p1952='?' (DbType = Boolean), @p1953='?' (Size = 4000), @p1954='?' (DbType = Int64), @p1961='?' (DbType = Int32), @p1956='?' (DbType = Int32), @p1957='?' (DbType = Boolean), @p1958='?' (DbType = Boolean), @p1959='?' (Size = 4000), @p1960='?' (DbType = Int64), @p1967='?' (DbType = Int32), @p1962='?' (DbType = Int32), @p1963='?' (DbType = Boolean), @p1964='?' (DbType = Boolean), @p1965='?' (Size = 4000), @p1966='?' (DbType = Int64), @p1973='?' (DbType = Int32), @p1968='?' (DbType = Int32), @p1969='?' (DbType = Boolean), @p1970='?' (DbType = Boolean), @p1971='?' (Size = 4000), @p1972='?' (DbType = Int64), @p1979='?' (DbType = Int32), @p1974='?' (DbType = Int32), @p1975='?' (DbType = Boolean), @p1976='?' (DbType = Boolean), @p1977='?' (Size = 4000), @p1978='?' (DbType = Int64), @p1985='?' (DbType = Int32), @p1980='?' (DbType = Int32), @p1981='?' (DbType = Boolean), @p1982='?' (DbType = Boolean), @p1983='?' (Size = 4000), @p1984='?' (DbType = Int64), @p1991='?' (DbType = Int32), @p1986='?' (DbType = Int32), @p1987='?' (DbType = Boolean), @p1988='?' (DbType = Boolean), @p1989='?' (Size = 4000), @p1990='?' (DbType = Int64), @p1997='?' (DbType = Int32), @p1992='?' (DbType = Int32), @p1993='?' (DbType = Boolean), @p1994='?' (DbType = Boolean), @p1995='?' (Size = 4000), @p1996='?' (DbType = Int64), @p2003='?' (DbType = Int32), @p1998='?' (DbType = Int32), @p1999='?' (DbType = Boolean), @p2000='?' (DbType = Boolean), @p2001='?' (Size = 4000), @p2002='?' (DbType = Int64), @p2009='?' (DbType = Int32), @p2004='?' (DbType = Int32), @p2005='?' (DbType = Boolean), @p2006='?' (DbType = Boolean), @p2007='?' (Size = 4000), @p2008='?' (DbType = Int64), @p2015='?' (DbType = Int32), @p2010='?' (DbType = Int32), @p2011='?' (DbType = Boolean), @p2012='?' (DbType = Boolean), @p2013='?' (Size = 4000), @p2014='?' (DbType = Int64), @p2021='?' (DbType = Int32), @p2016='?' (DbType = Int32), @p2017='?' (DbType = Boolean), @p2018='?' (DbType = Boolean), @p2019='?' (Size = 4000), @p2020='?' (DbType = Int64), @p2027='?' (DbType = Int32), @p2022='?' (DbType = Int32), @p2023='?' (DbType = Boolean), @p2024='?' (DbType = Boolean), @p2025='?' (Size = 4000), @p2026='?' (DbType = Int64), @p2033='?' (DbType = Int32), @p2028='?' (DbType = Int32), @p2029='?' (DbType = Boolean), @p2030='?' (DbType = Boolean), @p2031='?' (Size = 4000), @p2032='?' (DbType = Int64), @p2039='?' (DbType = Int32), @p2034='?' (DbType = Int32), @p2035='?' (DbType = Boolean), @p2036='?' (DbType = Boolean), @p2037='?' (Size = 4000), @p2038='?' (DbType = Int64), @p2045='?' (DbType = Int32), @p2040='?' (DbType = Int32), @p2041='?' (DbType = Boolean), @p2042='?' (DbType = Boolean), @p2043='?' (Size = 4000), @p2044='?' (DbType = Int64), @p2051='?' (DbType = Int32), @p2046='?' (DbType = Int32), @p2047='?' (DbType = Boolean), @p2048='?' (DbType = Boolean), @p2049='?' (Size = 4000), @p2050='?' (DbType = Int64), @p2057='?' (DbType = Int32), @p2052='?' (DbType = Int32), @p2053='?' (DbType = Boolean), @p2054='?' (DbType = Boolean), @p2055='?' (Size = 4000), @p2056='?' (DbType = Int64), @p2063='?' (DbType = Int32), @p2058='?' (DbType = Int32), @p2059='?' (DbType = Boolean), @p2060='?' (DbType = Boolean), @p2061='?' (Size = 4000), @p2062='?' (DbType = Int64), @p2069='?' (DbType = Int32), @p2064='?' (DbType = Int32), @p2065='?' (DbType = Boolean), @p2066='?' (DbType = Boolean), @p2067='?' (Size = 4000), @p2068='?' (DbType = Int64), @p2075='?' (DbType = Int32), @p2070='?' (DbType = Int32), @p2071='?' (DbType = Boolean), @p2072='?' (DbType = Boolean), @p2073='?' (Size = 4000), @p2074='?' (DbType = Int64), @p2081='?' (DbType = Int32), @p2076='?' (DbType = Int32), @p2077='?' (DbType = Boolean), @p2078='?' (DbType = Boolean), @p2079='?' (Size = 4000), @p2080='?' (DbType = Int64), @p2087='?' (DbType = Int32), @p2082='?' (DbType = Int32), @p2083='?' (DbType = Boolean), @p2084='?' (DbType = Boolean), @p2085='?' (Size = 4000), @p2086='?' (DbType = Int64), @p2093='?' (DbType = Int32), @p2088='?' (DbType = Int32), @p2089='?' (DbType = Boolean), @p2090='?' (DbType = Boolean), @p2091='?' (Size = 4000), @p2092='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1782, `IsActive` = @p1783, `IsDeleted` = @p1784, `Name` = @p1785, `SourceId` = @p1786
WHERE `Id` = @p1787;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1788, `IsActive` = @p1789, `IsDeleted` = @p1790, `Name` = @p1791, `SourceId` = @p1792
WHERE `Id` = @p1793;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1794, `IsActive` = @p1795, `IsDeleted` = @p1796, `Name` = @p1797, `SourceId` = @p1798
WHERE `Id` = @p1799;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1800, `IsActive` = @p1801, `IsDeleted` = @p1802, `Name` = @p1803, `SourceId` = @p1804
WHERE `Id` = @p1805;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1806, `IsActive` = @p1807, `IsDeleted` = @p1808, `Name` = @p1809, `SourceId` = @p1810
WHERE `Id` = @p1811;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1812, `IsActive` = @p1813, `IsDeleted` = @p1814, `Name` = @p1815, `SourceId` = @p1816
WHERE `Id` = @p1817;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1818, `IsActive` = @p1819, `IsDeleted` = @p1820, `Name` = @p1821, `SourceId` = @p1822
WHERE `Id` = @p1823;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1824, `IsActive` = @p1825, `IsDeleted` = @p1826, `Name` = @p1827, `SourceId` = @p1828
WHERE `Id` = @p1829;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1830, `IsActive` = @p1831, `IsDeleted` = @p1832, `Name` = @p1833, `SourceId` = @p1834
WHERE `Id` = @p1835;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1836, `IsActive` = @p1837, `IsDeleted` = @p1838, `Name` = @p1839, `SourceId` = @p1840
WHERE `Id` = @p1841;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1842, `IsActive` = @p1843, `IsDeleted` = @p1844, `Name` = @p1845, `SourceId` = @p1846
WHERE `Id` = @p1847;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1848, `IsActive` = @p1849, `IsDeleted` = @p1850, `Name` = @p1851, `SourceId` = @p1852
WHERE `Id` = @p1853;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1854, `IsActive` = @p1855, `IsDeleted` = @p1856, `Name` = @p1857, `SourceId` = @p1858
WHERE `Id` = @p1859;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1860, `IsActive` = @p1861, `IsDeleted` = @p1862, `Name` = @p1863, `SourceId` = @p1864
WHERE `Id` = @p1865;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1866, `IsActive` = @p1867, `IsDeleted` = @p1868, `Name` = @p1869, `SourceId` = @p1870
WHERE `Id` = @p1871;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1872, `IsActive` = @p1873, `IsDeleted` = @p1874, `Name` = @p1875, `SourceId` = @p1876
WHERE `Id` = @p1877;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1878, `IsActive` = @p1879, `IsDeleted` = @p1880, `Name` = @p1881, `SourceId` = @p1882
WHERE `Id` = @p1883;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1884, `IsActive` = @p1885, `IsDeleted` = @p1886, `Name` = @p1887, `SourceId` = @p1888
WHERE `Id` = @p1889;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1890, `IsActive` = @p1891, `IsDeleted` = @p1892, `Name` = @p1893, `SourceId` = @p1894
WHERE `Id` = @p1895;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1896, `IsActive` = @p1897, `IsDeleted` = @p1898, `Name` = @p1899, `SourceId` = @p1900
WHERE `Id` = @p1901;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1902, `IsActive` = @p1903, `IsDeleted` = @p1904, `Name` = @p1905, `SourceId` = @p1906
WHERE `Id` = @p1907;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1908, `IsActive` = @p1909, `IsDeleted` = @p1910, `Name` = @p1911, `SourceId` = @p1912
WHERE `Id` = @p1913;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1914, `IsActive` = @p1915, `IsDeleted` = @p1916, `Name` = @p1917, `SourceId` = @p1918
WHERE `Id` = @p1919;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1920, `IsActive` = @p1921, `IsDeleted` = @p1922, `Name` = @p1923, `SourceId` = @p1924
WHERE `Id` = @p1925;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1926, `IsActive` = @p1927, `IsDeleted` = @p1928, `Name` = @p1929, `SourceId` = @p1930
WHERE `Id` = @p1931;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1932, `IsActive` = @p1933, `IsDeleted` = @p1934, `Name` = @p1935, `SourceId` = @p1936
WHERE `Id` = @p1937;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1938, `IsActive` = @p1939, `IsDeleted` = @p1940, `Name` = @p1941, `SourceId` = @p1942
WHERE `Id` = @p1943;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1944, `IsActive` = @p1945, `IsDeleted` = @p1946, `Name` = @p1947, `SourceId` = @p1948
WHERE `Id` = @p1949;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1950, `IsActive` = @p1951, `IsDeleted` = @p1952, `Name` = @p1953, `SourceId` = @p1954
WHERE `Id` = @p1955;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1956, `IsActive` = @p1957, `IsDeleted` = @p1958, `Name` = @p1959, `SourceId` = @p1960
WHERE `Id` = @p1961;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1962, `IsActive` = @p1963, `IsDeleted` = @p1964, `Name` = @p1965, `SourceId` = @p1966
WHERE `Id` = @p1967;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1968, `IsActive` = @p1969, `IsDeleted` = @p1970, `Name` = @p1971, `SourceId` = @p1972
WHERE `Id` = @p1973;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1974, `IsActive` = @p1975, `IsDeleted` = @p1976, `Name` = @p1977, `SourceId` = @p1978
WHERE `Id` = @p1979;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1980, `IsActive` = @p1981, `IsDeleted` = @p1982, `Name` = @p1983, `SourceId` = @p1984
WHERE `Id` = @p1985;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1986, `IsActive` = @p1987, `IsDeleted` = @p1988, `Name` = @p1989, `SourceId` = @p1990
WHERE `Id` = @p1991;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1992, `IsActive` = @p1993, `IsDeleted` = @p1994, `Name` = @p1995, `SourceId` = @p1996
WHERE `Id` = @p1997;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1998, `IsActive` = @p1999, `IsDeleted` = @p2000, `Name` = @p2001, `SourceId` = @p2002
WHERE `Id` = @p2003;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2004, `IsActive` = @p2005, `IsDeleted` = @p2006, `Name` = @p2007, `SourceId` = @p2008
WHERE `Id` = @p2009;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2010, `IsActive` = @p2011, `IsDeleted` = @p2012, `Name` = @p2013, `SourceId` = @p2014
WHERE `Id` = @p2015;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2016, `IsActive` = @p2017, `IsDeleted` = @p2018, `Name` = @p2019, `SourceId` = @p2020
WHERE `Id` = @p2021;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2022, `IsActive` = @p2023, `IsDeleted` = @p2024, `Name` = @p2025, `SourceId` = @p2026
WHERE `Id` = @p2027;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2028, `IsActive` = @p2029, `IsDeleted` = @p2030, `Name` = @p2031, `SourceId` = @p2032
WHERE `Id` = @p2033;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2034, `IsActive` = @p2035, `IsDeleted` = @p2036, `Name` = @p2037, `SourceId` = @p2038
WHERE `Id` = @p2039;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2040, `IsActive` = @p2041, `IsDeleted` = @p2042, `Name` = @p2043, `SourceId` = @p2044
WHERE `Id` = @p2045;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2046, `IsActive` = @p2047, `IsDeleted` = @p2048, `Name` = @p2049, `SourceId` = @p2050
WHERE `Id` = @p2051;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2052, `IsActive` = @p2053, `IsDeleted` = @p2054, `Name` = @p2055, `SourceId` = @p2056
WHERE `Id` = @p2057;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2058, `IsActive` = @p2059, `IsDeleted` = @p2060, `Name` = @p2061, `SourceId` = @p2062
WHERE `Id` = @p2063;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2064, `IsActive` = @p2065, `IsDeleted` = @p2066, `Name` = @p2067, `SourceId` = @p2068
WHERE `Id` = @p2069;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2070, `IsActive` = @p2071, `IsDeleted` = @p2072, `Name` = @p2073, `SourceId` = @p2074
WHERE `Id` = @p2075;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2076, `IsActive` = @p2077, `IsDeleted` = @p2078, `Name` = @p2079, `SourceId` = @p2080
WHERE `Id` = @p2081;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2082, `IsActive` = @p2083, `IsDeleted` = @p2084, `Name` = @p2085, `SourceId` = @p2086
WHERE `Id` = @p2087;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p2088, `IsActive` = @p2089, `IsDeleted` = @p2090, `Name` = @p2091, `SourceId` = @p2092
WHERE `Id` = @p2093;
SELECT ROW_COUNT();
INFO  2025-04-03 15:55:07,434 [42   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p83='?' (DbType = Int32), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64), @p89='?' (DbType = Int32), @p84='?' (DbType = Int32), @p85='?' (DbType = Boolean), @p86='?' (DbType = Boolean), @p87='?' (Size = 4000), @p88='?' (DbType = Int64), @p95='?' (DbType = Int32), @p90='?' (DbType = Int32), @p91='?' (DbType = Boolean), @p92='?' (DbType = Boolean), @p93='?' (Size = 4000), @p94='?' (DbType = Int64), @p101='?' (DbType = Int32), @p96='?' (DbType = Int32), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (Size = 4000), @p100='?' (DbType = Int64), @p107='?' (DbType = Int32), @p102='?' (DbType = Int32), @p103='?' (DbType = Boolean), @p104='?' (DbType = Boolean), @p105='?' (Size = 4000), @p106='?' (DbType = Int64), @p113='?' (DbType = Int32), @p108='?' (DbType = Int32), @p109='?' (DbType = Boolean), @p110='?' (DbType = Boolean), @p111='?' (Size = 4000), @p112='?' (DbType = Int64), @p119='?' (DbType = Int32), @p114='?' (DbType = Int32), @p115='?' (DbType = Boolean), @p116='?' (DbType = Boolean), @p117='?' (Size = 4000), @p118='?' (DbType = Int64), @p125='?' (DbType = Int32), @p120='?' (DbType = Int32), @p121='?' (DbType = Boolean), @p122='?' (DbType = Boolean), @p123='?' (Size = 4000), @p124='?' (DbType = Int64), @p131='?' (DbType = Int32), @p126='?' (DbType = Int32), @p127='?' (DbType = Boolean), @p128='?' (DbType = Boolean), @p129='?' (Size = 4000), @p130='?' (DbType = Int64), @p137='?' (DbType = Int32), @p132='?' (DbType = Int32), @p133='?' (DbType = Boolean), @p134='?' (DbType = Boolean), @p135='?' (Size = 4000), @p136='?' (DbType = Int64), @p143='?' (DbType = Int32), @p138='?' (DbType = Int32), @p139='?' (DbType = Boolean), @p140='?' (DbType = Boolean), @p141='?' (Size = 4000), @p142='?' (DbType = Int64), @p149='?' (DbType = Int32), @p144='?' (DbType = Int32), @p145='?' (DbType = Boolean), @p146='?' (DbType = Boolean), @p147='?' (Size = 4000), @p148='?' (DbType = Int64), @p155='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Boolean), @p152='?' (DbType = Boolean), @p153='?' (Size = 4000), @p154='?' (DbType = Int64), @p161='?' (DbType = Int32), @p156='?' (DbType = Int32), @p157='?' (DbType = Boolean), @p158='?' (DbType = Boolean), @p159='?' (Size = 4000), @p160='?' (DbType = Int64), @p167='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Boolean), @p164='?' (DbType = Boolean), @p165='?' (Size = 4000), @p166='?' (DbType = Int64), @p173='?' (DbType = Int32), @p168='?' (DbType = Int32), @p169='?' (DbType = Boolean), @p170='?' (DbType = Boolean), @p171='?' (Size = 4000), @p172='?' (DbType = Int64), @p179='?' (DbType = Int32), @p174='?' (DbType = Int32), @p175='?' (DbType = Boolean), @p176='?' (DbType = Boolean), @p177='?' (Size = 4000), @p178='?' (DbType = Int64), @p185='?' (DbType = Int32), @p180='?' (DbType = Int32), @p181='?' (DbType = Boolean), @p182='?' (DbType = Boolean), @p183='?' (Size = 4000), @p184='?' (DbType = Int64), @p191='?' (DbType = Int32), @p186='?' (DbType = Int32), @p187='?' (DbType = Boolean), @p188='?' (DbType = Boolean), @p189='?' (Size = 4000), @p190='?' (DbType = Int64), @p197='?' (DbType = Int32), @p192='?' (DbType = Int32), @p193='?' (DbType = Boolean), @p194='?' (DbType = Boolean), @p195='?' (Size = 4000), @p196='?' (DbType = Int64), @p203='?' (DbType = Int32), @p198='?' (DbType = Int32), @p199='?' (DbType = Boolean), @p200='?' (DbType = Boolean), @p201='?' (Size = 4000), @p202='?' (DbType = Int64), @p209='?' (DbType = Int32), @p204='?' (DbType = Int32), @p205='?' (DbType = Boolean), @p206='?' (DbType = Boolean), @p207='?' (Size = 4000), @p208='?' (DbType = Int64), @p215='?' (DbType = Int32), @p210='?' (DbType = Int32), @p211='?' (DbType = Boolean), @p212='?' (DbType = Boolean), @p213='?' (Size = 4000), @p214='?' (DbType = Int64), @p221='?' (DbType = Int32), @p216='?' (DbType = Int32), @p217='?' (DbType = Boolean), @p218='?' (DbType = Boolean), @p219='?' (Size = 4000), @p220='?' (DbType = Int64), @p227='?' (DbType = Int32), @p222='?' (DbType = Int32), @p223='?' (DbType = Boolean), @p224='?' (DbType = Boolean), @p225='?' (Size = 4000), @p226='?' (DbType = Int64), @p233='?' (DbType = Int32), @p228='?' (DbType = Int32), @p229='?' (DbType = Boolean), @p230='?' (DbType = Boolean), @p231='?' (Size = 4000), @p232='?' (DbType = Int64), @p239='?' (DbType = Int32), @p234='?' (DbType = Int32), @p235='?' (DbType = Boolean), @p236='?' (DbType = Boolean), @p237='?' (Size = 4000), @p238='?' (DbType = Int64), @p245='?' (DbType = Int32), @p240='?' (DbType = Int32), @p241='?' (DbType = Boolean), @p242='?' (DbType = Boolean), @p243='?' (Size = 4000), @p244='?' (DbType = Int64), @p251='?' (DbType = Int32), @p246='?' (DbType = Int32), @p247='?' (DbType = Boolean), @p248='?' (DbType = Boolean), @p249='?' (Size = 4000), @p250='?' (DbType = Int64), @p257='?' (DbType = Int32), @p252='?' (DbType = Int32), @p253='?' (DbType = Boolean), @p254='?' (DbType = Boolean), @p255='?' (Size = 4000), @p256='?' (DbType = Int64), @p263='?' (DbType = Int32), @p258='?' (DbType = Int32), @p259='?' (DbType = Boolean), @p260='?' (DbType = Boolean), @p261='?' (Size = 4000), @p262='?' (DbType = Int64), @p269='?' (DbType = Int32), @p264='?' (DbType = Int32), @p265='?' (DbType = Boolean), @p266='?' (DbType = Boolean), @p267='?' (Size = 4000), @p268='?' (DbType = Int64), @p275='?' (DbType = Int32), @p270='?' (DbType = Int32), @p271='?' (DbType = Boolean), @p272='?' (DbType = Boolean), @p273='?' (Size = 4000), @p274='?' (DbType = Int64), @p281='?' (DbType = Int32), @p276='?' (DbType = Int32), @p277='?' (DbType = Boolean), @p278='?' (DbType = Boolean), @p279='?' (Size = 4000), @p280='?' (DbType = Int64), @p287='?' (DbType = Int32), @p282='?' (DbType = Int32), @p283='?' (DbType = Boolean), @p284='?' (DbType = Boolean), @p285='?' (Size = 4000), @p286='?' (DbType = Int64), @p293='?' (DbType = Int32), @p288='?' (DbType = Int32), @p289='?' (DbType = Boolean), @p290='?' (DbType = Boolean), @p291='?' (Size = 4000), @p292='?' (DbType = Int64), @p299='?' (DbType = Int32), @p294='?' (DbType = Int32), @p295='?' (DbType = Boolean), @p296='?' (DbType = Boolean), @p297='?' (Size = 4000), @p298='?' (DbType = Int64), @p305='?' (DbType = Int32), @p300='?' (DbType = Int32), @p301='?' (DbType = Boolean), @p302='?' (DbType = Boolean), @p303='?' (Size = 4000), @p304='?' (DbType = Int64), @p311='?' (DbType = Int32), @p306='?' (DbType = Int32), @p307='?' (DbType = Boolean), @p308='?' (DbType = Boolean), @p309='?' (Size = 4000), @p310='?' (DbType = Int64), @p317='?' (DbType = Int32), @p312='?' (DbType = Int32), @p313='?' (DbType = Boolean), @p314='?' (DbType = Boolean), @p315='?' (Size = 4000), @p316='?' (DbType = Int64), @p323='?' (DbType = Int32), @p318='?' (DbType = Int32), @p319='?' (DbType = Boolean), @p320='?' (DbType = Boolean), @p321='?' (Size = 4000), @p322='?' (DbType = Int64), @p329='?' (DbType = Int32), @p324='?' (DbType = Int32), @p325='?' (DbType = Boolean), @p326='?' (DbType = Boolean), @p327='?' (Size = 4000), @p328='?' (DbType = Int64), @p335='?' (DbType = Int32), @p330='?' (DbType = Int32), @p331='?' (DbType = Boolean), @p332='?' (DbType = Boolean), @p333='?' (Size = 4000), @p334='?' (DbType = Int64), @p341='?' (DbType = Int32), @p336='?' (DbType = Int32), @p337='?' (DbType = Boolean), @p338='?' (DbType = Boolean), @p339='?' (Size = 4000), @p340='?' (DbType = Int64), @p347='?' (DbType = Int32), @p342='?' (DbType = Int32), @p343='?' (DbType = Boolean), @p344='?' (DbType = Boolean), @p345='?' (Size = 4000), @p346='?' (DbType = Int64), @p353='?' (DbType = Int32), @p348='?' (DbType = Int32), @p349='?' (DbType = Boolean), @p350='?' (DbType = Boolean), @p351='?' (Size = 4000), @p352='?' (DbType = Int64), @p359='?' (DbType = Int32), @p354='?' (DbType = Int32), @p355='?' (DbType = Boolean), @p356='?' (DbType = Boolean), @p357='?' (Size = 4000), @p358='?' (DbType = Int64), @p365='?' (DbType = Int32), @p360='?' (DbType = Int32), @p361='?' (DbType = Boolean), @p362='?' (DbType = Boolean), @p363='?' (Size = 4000), @p364='?' (DbType = Int64), @p371='?' (DbType = Int32), @p366='?' (DbType = Int32), @p367='?' (DbType = Boolean), @p368='?' (DbType = Boolean), @p369='?' (Size = 4000), @p370='?' (DbType = Int64), @p377='?' (DbType = Int32), @p372='?' (DbType = Int32), @p373='?' (DbType = Boolean), @p374='?' (DbType = Boolean), @p375='?' (Size = 4000), @p376='?' (DbType = Int64), @p383='?' (DbType = Int32), @p378='?' (DbType = Int32), @p379='?' (DbType = Boolean), @p380='?' (DbType = Boolean), @p381='?' (Size = 4000), @p382='?' (DbType = Int64), @p389='?' (DbType = Int32), @p384='?' (DbType = Int32), @p385='?' (DbType = Boolean), @p386='?' (DbType = Boolean), @p387='?' (Size = 4000), @p388='?' (DbType = Int64), @p395='?' (DbType = Int32), @p390='?' (DbType = Int32), @p391='?' (DbType = Boolean), @p392='?' (DbType = Boolean), @p393='?' (Size = 4000), @p394='?' (DbType = Int64), @p401='?' (DbType = Int32), @p396='?' (DbType = Int32), @p397='?' (DbType = Boolean), @p398='?' (DbType = Boolean), @p399='?' (Size = 4000), @p400='?' (DbType = Int64), @p407='?' (DbType = Int32), @p402='?' (DbType = Int32), @p403='?' (DbType = Boolean), @p404='?' (DbType = Boolean), @p405='?' (Size = 4000), @p406='?' (DbType = Int64), @p413='?' (DbType = Int32), @p408='?' (DbType = Int32), @p409='?' (DbType = Boolean), @p410='?' (DbType = Boolean), @p411='?' (Size = 4000), @p412='?' (DbType = Int64), @p419='?' (DbType = Int32), @p414='?' (DbType = Int32), @p415='?' (DbType = Boolean), @p416='?' (DbType = Boolean), @p417='?' (Size = 4000), @p418='?' (DbType = Int64), @p425='?' (DbType = Int32), @p420='?' (DbType = Int32), @p421='?' (DbType = Boolean), @p422='?' (DbType = Boolean), @p423='?' (Size = 4000), @p424='?' (DbType = Int64), @p431='?' (DbType = Int32), @p426='?' (DbType = Int32), @p427='?' (DbType = Boolean), @p428='?' (DbType = Boolean), @p429='?' (Size = 4000), @p430='?' (DbType = Int64), @p437='?' (DbType = Int32), @p432='?' (DbType = Int32), @p433='?' (DbType = Boolean), @p434='?' (DbType = Boolean), @p435='?' (Size = 4000), @p436='?' (DbType = Int64), @p443='?' (DbType = Int32), @p438='?' (DbType = Int32), @p439='?' (DbType = Boolean), @p440='?' (DbType = Boolean), @p441='?' (Size = 4000), @p442='?' (DbType = Int64), @p449='?' (DbType = Int32), @p444='?' (DbType = Int32), @p445='?' (DbType = Boolean), @p446='?' (DbType = Boolean), @p447='?' (Size = 4000), @p448='?' (DbType = Int64), @p455='?' (DbType = Int32), @p450='?' (DbType = Int32), @p451='?' (DbType = Boolean), @p452='?' (DbType = Boolean), @p453='?' (Size = 4000), @p454='?' (DbType = Int64), @p461='?' (DbType = Int32), @p456='?' (DbType = Int32), @p457='?' (DbType = Boolean), @p458='?' (DbType = Boolean), @p459='?' (Size = 4000), @p460='?' (DbType = Int64), @p467='?' (DbType = Int32), @p462='?' (DbType = Int32), @p463='?' (DbType = Boolean), @p464='?' (DbType = Boolean), @p465='?' (Size = 4000), @p466='?' (DbType = Int64), @p473='?' (DbType = Int32), @p468='?' (DbType = Int32), @p469='?' (DbType = Boolean), @p470='?' (DbType = Boolean), @p471='?' (Size = 4000), @p472='?' (DbType = Int64), @p479='?' (DbType = Int32), @p474='?' (DbType = Int32), @p475='?' (DbType = Boolean), @p476='?' (DbType = Boolean), @p477='?' (Size = 4000), @p478='?' (DbType = Int64), @p485='?' (DbType = Int32), @p480='?' (DbType = Int32), @p481='?' (DbType = Boolean), @p482='?' (DbType = Boolean), @p483='?' (Size = 4000), @p484='?' (DbType = Int64), @p491='?' (DbType = Int32), @p486='?' (DbType = Int32), @p487='?' (DbType = Boolean), @p488='?' (DbType = Boolean), @p489='?' (Size = 4000), @p490='?' (DbType = Int64), @p497='?' (DbType = Int32), @p492='?' (DbType = Int32), @p493='?' (DbType = Boolean), @p494='?' (DbType = Boolean), @p495='?' (Size = 4000), @p496='?' (DbType = Int64), @p503='?' (DbType = Int32), @p498='?' (DbType = Int32), @p499='?' (DbType = Boolean), @p500='?' (DbType = Boolean), @p501='?' (Size = 4000), @p502='?' (DbType = Int64), @p509='?' (DbType = Int32), @p504='?' (DbType = Int32), @p505='?' (DbType = Boolean), @p506='?' (DbType = Boolean), @p507='?' (Size = 4000), @p508='?' (DbType = Int64), @p515='?' (DbType = Int32), @p510='?' (DbType = Int32), @p511='?' (DbType = Boolean), @p512='?' (DbType = Boolean), @p513='?' (Size = 4000), @p514='?' (DbType = Int64), @p521='?' (DbType = Int32), @p516='?' (DbType = Int32), @p517='?' (DbType = Boolean), @p518='?' (DbType = Boolean), @p519='?' (Size = 4000), @p520='?' (DbType = Int64), @p527='?' (DbType = Int32), @p522='?' (DbType = Int32), @p523='?' (DbType = Boolean), @p524='?' (DbType = Boolean), @p525='?' (Size = 4000), @p526='?' (DbType = Int64), @p533='?' (DbType = Int32), @p528='?' (DbType = Int32), @p529='?' (DbType = Boolean), @p530='?' (DbType = Boolean), @p531='?' (Size = 4000), @p532='?' (DbType = Int64), @p539='?' (DbType = Int32), @p534='?' (DbType = Int32), @p535='?' (DbType = Boolean), @p536='?' (DbType = Boolean), @p537='?' (Size = 4000), @p538='?' (DbType = Int64), @p545='?' (DbType = Int32), @p540='?' (DbType = Int32), @p541='?' (DbType = Boolean), @p542='?' (DbType = Boolean), @p543='?' (Size = 4000), @p544='?' (DbType = Int64), @p551='?' (DbType = Int32), @p546='?' (DbType = Int32), @p547='?' (DbType = Boolean), @p548='?' (DbType = Boolean), @p549='?' (Size = 4000), @p550='?' (DbType = Int64), @p557='?' (DbType = Int32), @p552='?' (DbType = Int32), @p553='?' (DbType = Boolean), @p554='?' (DbType = Boolean), @p555='?' (Size = 4000), @p556='?' (DbType = Int64), @p563='?' (DbType = Int32), @p558='?' (DbType = Int32), @p559='?' (DbType = Boolean), @p560='?' (DbType = Boolean), @p561='?' (Size = 4000), @p562='?' (DbType = Int64), @p569='?' (DbType = Int32), @p564='?' (DbType = Int32), @p565='?' (DbType = Boolean), @p566='?' (DbType = Boolean), @p567='?' (Size = 4000), @p568='?' (DbType = Int64), @p575='?' (DbType = Int32), @p570='?' (DbType = Int32), @p571='?' (DbType = Boolean), @p572='?' (DbType = Boolean), @p573='?' (Size = 4000), @p574='?' (DbType = Int64), @p581='?' (DbType = Int32), @p576='?' (DbType = Int32), @p577='?' (DbType = Boolean), @p578='?' (DbType = Boolean), @p579='?' (Size = 4000), @p580='?' (DbType = Int64), @p587='?' (DbType = Int32), @p582='?' (DbType = Int32), @p583='?' (DbType = Boolean), @p584='?' (DbType = Boolean), @p585='?' (Size = 4000), @p586='?' (DbType = Int64), @p593='?' (DbType = Int32), @p588='?' (DbType = Int32), @p589='?' (DbType = Boolean), @p590='?' (DbType = Boolean), @p591='?' (Size = 4000), @p592='?' (DbType = Int64), @p599='?' (DbType = Int32), @p594='?' (DbType = Int32), @p595='?' (DbType = Boolean), @p596='?' (DbType = Boolean), @p597='?' (Size = 4000), @p598='?' (DbType = Int64), @p605='?' (DbType = Int32), @p600='?' (DbType = Int32), @p601='?' (DbType = Boolean), @p602='?' (DbType = Boolean), @p603='?' (Size = 4000), @p604='?' (DbType = Int64), @p611='?' (DbType = Int32), @p606='?' (DbType = Int32), @p607='?' (DbType = Boolean), @p608='?' (DbType = Boolean), @p609='?' (Size = 4000), @p610='?' (DbType = Int64), @p617='?' (DbType = Int32), @p612='?' (DbType = Int32), @p613='?' (DbType = Boolean), @p614='?' (DbType = Boolean), @p615='?' (Size = 4000), @p616='?' (DbType = Int64), @p623='?' (DbType = Int32), @p618='?' (DbType = Int32), @p619='?' (DbType = Boolean), @p620='?' (DbType = Boolean), @p621='?' (Size = 4000), @p622='?' (DbType = Int64), @p629='?' (DbType = Int32), @p624='?' (DbType = Int32), @p625='?' (DbType = Boolean), @p626='?' (DbType = Boolean), @p627='?' (Size = 4000), @p628='?' (DbType = Int64), @p635='?' (DbType = Int32), @p630='?' (DbType = Int32), @p631='?' (DbType = Boolean), @p632='?' (DbType = Boolean), @p633='?' (Size = 4000), @p634='?' (DbType = Int64), @p641='?' (DbType = Int32), @p636='?' (DbType = Int32), @p637='?' (DbType = Boolean), @p638='?' (DbType = Boolean), @p639='?' (Size = 4000), @p640='?' (DbType = Int64), @p647='?' (DbType = Int32), @p642='?' (DbType = Int32), @p643='?' (DbType = Boolean), @p644='?' (DbType = Boolean), @p645='?' (Size = 4000), @p646='?' (DbType = Int64), @p653='?' (DbType = Int32), @p648='?' (DbType = Int32), @p649='?' (DbType = Boolean), @p650='?' (DbType = Boolean), @p651='?' (Size = 4000), @p652='?' (DbType = Int64), @p659='?' (DbType = Int32), @p654='?' (DbType = Int32), @p655='?' (DbType = Boolean), @p656='?' (DbType = Boolean), @p657='?' (Size = 4000), @p658='?' (DbType = Int64), @p665='?' (DbType = Int32), @p660='?' (DbType = Int32), @p661='?' (DbType = Boolean), @p662='?' (DbType = Boolean), @p663='?' (Size = 4000), @p664='?' (DbType = Int64), @p671='?' (DbType = Int32), @p666='?' (DbType = Int32), @p667='?' (DbType = Boolean), @p668='?' (DbType = Boolean), @p669='?' (Size = 4000), @p670='?' (DbType = Int64), @p677='?' (DbType = Int32), @p672='?' (DbType = Int32), @p673='?' (DbType = Boolean), @p674='?' (DbType = Boolean), @p675='?' (Size = 4000), @p676='?' (DbType = Int64), @p683='?' (DbType = Int32), @p678='?' (DbType = Int32), @p679='?' (DbType = Boolean), @p680='?' (DbType = Boolean), @p681='?' (Size = 4000), @p682='?' (DbType = Int64), @p689='?' (DbType = Int32), @p684='?' (DbType = Int32), @p685='?' (DbType = Boolean), @p686='?' (DbType = Boolean), @p687='?' (Size = 4000), @p688='?' (DbType = Int64), @p695='?' (DbType = Int32), @p690='?' (DbType = Int32), @p691='?' (DbType = Boolean), @p692='?' (DbType = Boolean), @p693='?' (Size = 4000), @p694='?' (DbType = Int64), @p701='?' (DbType = Int32), @p696='?' (DbType = Int32), @p697='?' (DbType = Boolean), @p698='?' (DbType = Boolean), @p699='?' (Size = 4000), @p700='?' (DbType = Int64), @p707='?' (DbType = Int32), @p702='?' (DbType = Int32), @p703='?' (DbType = Boolean), @p704='?' (DbType = Boolean), @p705='?' (Size = 4000), @p706='?' (DbType = Int64), @p713='?' (DbType = Int32), @p708='?' (DbType = Int32), @p709='?' (DbType = Boolean), @p710='?' (DbType = Boolean), @p711='?' (Size = 4000), @p712='?' (DbType = Int64), @p719='?' (DbType = Int32), @p714='?' (DbType = Int32), @p715='?' (DbType = Boolean), @p716='?' (DbType = Boolean), @p717='?' (Size = 4000), @p718='?' (DbType = Int64), @p725='?' (DbType = Int32), @p720='?' (DbType = Int32), @p721='?' (DbType = Boolean), @p722='?' (DbType = Boolean), @p723='?' (Size = 4000), @p724='?' (DbType = Int64), @p731='?' (DbType = Int32), @p726='?' (DbType = Int32), @p727='?' (DbType = Boolean), @p728='?' (DbType = Boolean), @p729='?' (Size = 4000), @p730='?' (DbType = Int64), @p737='?' (DbType = Int32), @p732='?' (DbType = Int32), @p733='?' (DbType = Boolean), @p734='?' (DbType = Boolean), @p735='?' (Size = 4000), @p736='?' (DbType = Int64), @p743='?' (DbType = Int32), @p738='?' (DbType = Int32), @p739='?' (DbType = Boolean), @p740='?' (DbType = Boolean), @p741='?' (Size = 4000), @p742='?' (DbType = Int64), @p749='?' (DbType = Int32), @p744='?' (DbType = Int32), @p745='?' (DbType = Boolean), @p746='?' (DbType = Boolean), @p747='?' (Size = 4000), @p748='?' (DbType = Int64), @p755='?' (DbType = Int32), @p750='?' (DbType = Int32), @p751='?' (DbType = Boolean), @p752='?' (DbType = Boolean), @p753='?' (Size = 4000), @p754='?' (DbType = Int64), @p761='?' (DbType = Int32), @p756='?' (DbType = Int32), @p757='?' (DbType = Boolean), @p758='?' (DbType = Boolean), @p759='?' (Size = 4000), @p760='?' (DbType = Int64), @p767='?' (DbType = Int32), @p762='?' (DbType = Int32), @p763='?' (DbType = Boolean), @p764='?' (DbType = Boolean), @p765='?' (Size = 4000), @p766='?' (DbType = Int64), @p773='?' (DbType = Int32), @p768='?' (DbType = Int32), @p769='?' (DbType = Boolean), @p770='?' (DbType = Boolean), @p771='?' (Size = 4000), @p772='?' (DbType = Int64), @p779='?' (DbType = Int32), @p774='?' (DbType = Int32), @p775='?' (DbType = Boolean), @p776='?' (DbType = Boolean), @p777='?' (Size = 4000), @p778='?' (DbType = Int64), @p785='?' (DbType = Int32), @p780='?' (DbType = Int32), @p781='?' (DbType = Boolean), @p782='?' (DbType = Boolean), @p783='?' (Size = 4000), @p784='?' (DbType = Int64), @p791='?' (DbType = Int32), @p786='?' (DbType = Int32), @p787='?' (DbType = Boolean), @p788='?' (DbType = Boolean), @p789='?' (Size = 4000), @p790='?' (DbType = Int64), @p797='?' (DbType = Int32), @p792='?' (DbType = Int32), @p793='?' (DbType = Boolean), @p794='?' (DbType = Boolean), @p795='?' (Size = 4000), @p796='?' (DbType = Int64), @p803='?' (DbType = Int32), @p798='?' (DbType = Int32), @p799='?' (DbType = Boolean), @p800='?' (DbType = Boolean), @p801='?' (Size = 4000), @p802='?' (DbType = Int64), @p809='?' (DbType = Int32), @p804='?' (DbType = Int32), @p805='?' (DbType = Boolean), @p806='?' (DbType = Boolean), @p807='?' (Size = 4000), @p808='?' (DbType = Int64), @p815='?' (DbType = Int32), @p810='?' (DbType = Int32), @p811='?' (DbType = Boolean), @p812='?' (DbType = Boolean), @p813='?' (Size = 4000), @p814='?' (DbType = Int64), @p821='?' (DbType = Int32), @p816='?' (DbType = Int32), @p817='?' (DbType = Boolean), @p818='?' (DbType = Boolean), @p819='?' (Size = 4000), @p820='?' (DbType = Int64), @p827='?' (DbType = Int32), @p822='?' (DbType = Int32), @p823='?' (DbType = Boolean), @p824='?' (DbType = Boolean), @p825='?' (Size = 4000), @p826='?' (DbType = Int64), @p833='?' (DbType = Int32), @p828='?' (DbType = Int32), @p829='?' (DbType = Boolean), @p830='?' (DbType = Boolean), @p831='?' (Size = 4000), @p832='?' (DbType = Int64), @p839='?' (DbType = Int32), @p834='?' (DbType = Int32), @p835='?' (DbType = Boolean), @p836='?' (DbType = Boolean), @p837='?' (Size = 4000), @p838='?' (DbType = Int64), @p845='?' (DbType = Int32), @p840='?' (DbType = Int32), @p841='?' (DbType = Boolean), @p842='?' (DbType = Boolean), @p843='?' (Size = 4000), @p844='?' (DbType = Int64), @p851='?' (DbType = Int32), @p846='?' (DbType = Int32), @p847='?' (DbType = Boolean), @p848='?' (DbType = Boolean), @p849='?' (Size = 4000), @p850='?' (DbType = Int64), @p857='?' (DbType = Int32), @p852='?' (DbType = Int32), @p853='?' (DbType = Boolean), @p854='?' (DbType = Boolean), @p855='?' (Size = 4000), @p856='?' (DbType = Int64), @p863='?' (DbType = Int32), @p858='?' (DbType = Int32), @p859='?' (DbType = Boolean), @p860='?' (DbType = Boolean), @p861='?' (Size = 4000), @p862='?' (DbType = Int64), @p869='?' (DbType = Int32), @p864='?' (DbType = Int32), @p865='?' (DbType = Boolean), @p866='?' (DbType = Boolean), @p867='?' (Size = 4000), @p868='?' (DbType = Int64), @p875='?' (DbType = Int32), @p870='?' (DbType = Int32), @p871='?' (DbType = Boolean), @p872='?' (DbType = Boolean), @p873='?' (Size = 4000), @p874='?' (DbType = Int64), @p881='?' (DbType = Int32), @p876='?' (DbType = Int32), @p877='?' (DbType = Boolean), @p878='?' (DbType = Boolean), @p879='?' (Size = 4000), @p880='?' (DbType = Int64), @p887='?' (DbType = Int32), @p882='?' (DbType = Int32), @p883='?' (DbType = Boolean), @p884='?' (DbType = Boolean), @p885='?' (Size = 4000), @p886='?' (DbType = Int64), @p893='?' (DbType = Int32), @p888='?' (DbType = Int32), @p889='?' (DbType = Boolean), @p890='?' (DbType = Boolean), @p891='?' (Size = 4000), @p892='?' (DbType = Int64), @p899='?' (DbType = Int32), @p894='?' (DbType = Int32), @p895='?' (DbType = Boolean), @p896='?' (DbType = Boolean), @p897='?' (Size = 4000), @p898='?' (DbType = Int64), @p905='?' (DbType = Int32), @p900='?' (DbType = Int32), @p901='?' (DbType = Boolean), @p902='?' (DbType = Boolean), @p903='?' (Size = 4000), @p904='?' (DbType = Int64), @p911='?' (DbType = Int32), @p906='?' (DbType = Int32), @p907='?' (DbType = Boolean), @p908='?' (DbType = Boolean), @p909='?' (Size = 4000), @p910='?' (DbType = Int64), @p917='?' (DbType = Int32), @p912='?' (DbType = Int32), @p913='?' (DbType = Boolean), @p914='?' (DbType = Boolean), @p915='?' (Size = 4000), @p916='?' (DbType = Int64), @p923='?' (DbType = Int32), @p918='?' (DbType = Int32), @p919='?' (DbType = Boolean), @p920='?' (DbType = Boolean), @p921='?' (Size = 4000), @p922='?' (DbType = Int64), @p929='?' (DbType = Int32), @p924='?' (DbType = Int32), @p925='?' (DbType = Boolean), @p926='?' (DbType = Boolean), @p927='?' (Size = 4000), @p928='?' (DbType = Int64), @p935='?' (DbType = Int32), @p930='?' (DbType = Int32), @p931='?' (DbType = Boolean), @p932='?' (DbType = Boolean), @p933='?' (Size = 4000), @p934='?' (DbType = Int64), @p941='?' (DbType = Int32), @p936='?' (DbType = Int32), @p937='?' (DbType = Boolean), @p938='?' (DbType = Boolean), @p939='?' (Size = 4000), @p940='?' (DbType = Int64), @p947='?' (DbType = Int32), @p942='?' (DbType = Int32), @p943='?' (DbType = Boolean), @p944='?' (DbType = Boolean), @p945='?' (Size = 4000), @p946='?' (DbType = Int64), @p953='?' (DbType = Int32), @p948='?' (DbType = Int32), @p949='?' (DbType = Boolean), @p950='?' (DbType = Boolean), @p951='?' (Size = 4000), @p952='?' (DbType = Int64), @p959='?' (DbType = Int32), @p954='?' (DbType = Int32), @p955='?' (DbType = Boolean), @p956='?' (DbType = Boolean), @p957='?' (Size = 4000), @p958='?' (DbType = Int64), @p965='?' (DbType = Int32), @p960='?' (DbType = Int32), @p961='?' (DbType = Boolean), @p962='?' (DbType = Boolean), @p963='?' (Size = 4000), @p964='?' (DbType = Int64), @p971='?' (DbType = Int32), @p966='?' (DbType = Int32), @p967='?' (DbType = Boolean), @p968='?' (DbType = Boolean), @p969='?' (Size = 4000), @p970='?' (DbType = Int64), @p977='?' (DbType = Int32), @p972='?' (DbType = Int32), @p973='?' (DbType = Boolean), @p974='?' (DbType = Boolean), @p975='?' (Size = 4000), @p976='?' (DbType = Int64), @p983='?' (DbType = Int32), @p978='?' (DbType = Int32), @p979='?' (DbType = Boolean), @p980='?' (DbType = Boolean), @p981='?' (Size = 4000), @p982='?' (DbType = Int64), @p989='?' (DbType = Int32), @p984='?' (DbType = Int32), @p985='?' (DbType = Boolean), @p986='?' (DbType = Boolean), @p987='?' (Size = 4000), @p988='?' (DbType = Int64), @p995='?' (DbType = Int32), @p990='?' (DbType = Int32), @p991='?' (DbType = Boolean), @p992='?' (DbType = Boolean), @p993='?' (Size = 4000), @p994='?' (DbType = Int64), @p1001='?' (DbType = Int32), @p996='?' (DbType = Int32), @p997='?' (DbType = Boolean), @p998='?' (DbType = Boolean), @p999='?' (Size = 4000), @p1000='?' (DbType = Int64), @p1007='?' (DbType = Int32), @p1002='?' (DbType = Int32), @p1003='?' (DbType = Boolean), @p1004='?' (DbType = Boolean), @p1005='?' (Size = 4000), @p1006='?' (DbType = Int64), @p1013='?' (DbType = Int32), @p1008='?' (DbType = Int32), @p1009='?' (DbType = Boolean), @p1010='?' (DbType = Boolean), @p1011='?' (Size = 4000), @p1012='?' (DbType = Int64), @p1019='?' (DbType = Int32), @p1014='?' (DbType = Int32), @p1015='?' (DbType = Boolean), @p1016='?' (DbType = Boolean), @p1017='?' (Size = 4000), @p1018='?' (DbType = Int64), @p1025='?' (DbType = Int32), @p1020='?' (DbType = Int32), @p1021='?' (DbType = Boolean), @p1022='?' (DbType = Boolean), @p1023='?' (Size = 4000), @p1024='?' (DbType = Int64), @p1031='?' (DbType = Int32), @p1026='?' (DbType = Int32), @p1027='?' (DbType = Boolean), @p1028='?' (DbType = Boolean), @p1029='?' (Size = 4000), @p1030='?' (DbType = Int64), @p1037='?' (DbType = Int32), @p1032='?' (DbType = Int32), @p1033='?' (DbType = Boolean), @p1034='?' (DbType = Boolean), @p1035='?' (Size = 4000), @p1036='?' (DbType = Int64), @p1043='?' (DbType = Int32), @p1038='?' (DbType = Int32), @p1039='?' (DbType = Boolean), @p1040='?' (DbType = Boolean), @p1041='?' (Size = 4000), @p1042='?' (DbType = Int64), @p1049='?' (DbType = Int32), @p1044='?' (DbType = Int32), @p1045='?' (DbType = Boolean), @p1046='?' (DbType = Boolean), @p1047='?' (Size = 4000), @p1048='?' (DbType = Int64), @p1055='?' (DbType = Int32), @p1050='?' (DbType = Int32), @p1051='?' (DbType = Boolean), @p1052='?' (DbType = Boolean), @p1053='?' (Size = 4000), @p1054='?' (DbType = Int64), @p1061='?' (DbType = Int32), @p1056='?' (DbType = Int32), @p1057='?' (DbType = Boolean), @p1058='?' (DbType = Boolean), @p1059='?' (Size = 4000), @p1060='?' (DbType = Int64), @p1067='?' (DbType = Int32), @p1062='?' (DbType = Int32), @p1063='?' (DbType = Boolean), @p1064='?' (DbType = Boolean), @p1065='?' (Size = 4000), @p1066='?' (DbType = Int64), @p1073='?' (DbType = Int32), @p1068='?' (DbType = Int32), @p1069='?' (DbType = Boolean), @p1070='?' (DbType = Boolean), @p1071='?' (Size = 4000), @p1072='?' (DbType = Int64), @p1079='?' (DbType = Int32), @p1074='?' (DbType = Int32), @p1075='?' (DbType = Boolean), @p1076='?' (DbType = Boolean), @p1077='?' (Size = 4000), @p1078='?' (DbType = Int64), @p1085='?' (DbType = Int32), @p1080='?' (DbType = Int32), @p1081='?' (DbType = Boolean), @p1082='?' (DbType = Boolean), @p1083='?' (Size = 4000), @p1084='?' (DbType = Int64), @p1091='?' (DbType = Int32), @p1086='?' (DbType = Int32), @p1087='?' (DbType = Boolean), @p1088='?' (DbType = Boolean), @p1089='?' (Size = 4000), @p1090='?' (DbType = Int64), @p1097='?' (DbType = Int32), @p1092='?' (DbType = Int32), @p1093='?' (DbType = Boolean), @p1094='?' (DbType = Boolean), @p1095='?' (Size = 4000), @p1096='?' (DbType = Int64), @p1103='?' (DbType = Int32), @p1098='?' (DbType = Int32), @p1099='?' (DbType = Boolean), @p1100='?' (DbType = Boolean), @p1101='?' (Size = 4000), @p1102='?' (DbType = Int64), @p1109='?' (DbType = Int32), @p1104='?' (DbType = Int32), @p1105='?' (DbType = Boolean), @p1106='?' (DbType = Boolean), @p1107='?' (Size = 4000), @p1108='?' (DbType = Int64), @p1115='?' (DbType = Int32), @p1110='?' (DbType = Int32), @p1111='?' (DbType = Boolean), @p1112='?' (DbType = Boolean), @p1113='?' (Size = 4000), @p1114='?' (DbType = Int64), @p1121='?' (DbType = Int32), @p1116='?' (DbType = Int32), @p1117='?' (DbType = Boolean), @p1118='?' (DbType = Boolean), @p1119='?' (Size = 4000), @p1120='?' (DbType = Int64), @p1127='?' (DbType = Int32), @p1122='?' (DbType = Int32), @p1123='?' (DbType = Boolean), @p1124='?' (DbType = Boolean), @p1125='?' (Size = 4000), @p1126='?' (DbType = Int64), @p1133='?' (DbType = Int32), @p1128='?' (DbType = Int32), @p1129='?' (DbType = Boolean), @p1130='?' (DbType = Boolean), @p1131='?' (Size = 4000), @p1132='?' (DbType = Int64), @p1139='?' (DbType = Int32), @p1134='?' (DbType = Int32), @p1135='?' (DbType = Boolean), @p1136='?' (DbType = Boolean), @p1137='?' (Size = 4000), @p1138='?' (DbType = Int64), @p1145='?' (DbType = Int32), @p1140='?' (DbType = Int32), @p1141='?' (DbType = Boolean), @p1142='?' (DbType = Boolean), @p1143='?' (Size = 4000), @p1144='?' (DbType = Int64), @p1151='?' (DbType = Int32), @p1146='?' (DbType = Int32), @p1147='?' (DbType = Boolean), @p1148='?' (DbType = Boolean), @p1149='?' (Size = 4000), @p1150='?' (DbType = Int64), @p1157='?' (DbType = Int32), @p1152='?' (DbType = Int32), @p1153='?' (DbType = Boolean), @p1154='?' (DbType = Boolean), @p1155='?' (Size = 4000), @p1156='?' (DbType = Int64), @p1163='?' (DbType = Int32), @p1158='?' (DbType = Int32), @p1159='?' (DbType = Boolean), @p1160='?' (DbType = Boolean), @p1161='?' (Size = 4000), @p1162='?' (DbType = Int64), @p1169='?' (DbType = Int32), @p1164='?' (DbType = Int32), @p1165='?' (DbType = Boolean), @p1166='?' (DbType = Boolean), @p1167='?' (Size = 4000), @p1168='?' (DbType = Int64), @p1175='?' (DbType = Int32), @p1170='?' (DbType = Int32), @p1171='?' (DbType = Boolean), @p1172='?' (DbType = Boolean), @p1173='?' (Size = 4000), @p1174='?' (DbType = Int64), @p1181='?' (DbType = Int32), @p1176='?' (DbType = Int32), @p1177='?' (DbType = Boolean), @p1178='?' (DbType = Boolean), @p1179='?' (Size = 4000), @p1180='?' (DbType = Int64), @p1187='?' (DbType = Int32), @p1182='?' (DbType = Int32), @p1183='?' (DbType = Boolean), @p1184='?' (DbType = Boolean), @p1185='?' (Size = 4000), @p1186='?' (DbType = Int64), @p1193='?' (DbType = Int32), @p1188='?' (DbType = Int32), @p1189='?' (DbType = Boolean), @p1190='?' (DbType = Boolean), @p1191='?' (Size = 4000), @p1192='?' (DbType = Int64), @p1199='?' (DbType = Int32), @p1194='?' (DbType = Int32), @p1195='?' (DbType = Boolean), @p1196='?' (DbType = Boolean), @p1197='?' (Size = 4000), @p1198='?' (DbType = Int64), @p1205='?' (DbType = Int32), @p1200='?' (DbType = Int32), @p1201='?' (DbType = Boolean), @p1202='?' (DbType = Boolean), @p1203='?' (Size = 4000), @p1204='?' (DbType = Int64), @p1211='?' (DbType = Int32), @p1206='?' (DbType = Int32), @p1207='?' (DbType = Boolean), @p1208='?' (DbType = Boolean), @p1209='?' (Size = 4000), @p1210='?' (DbType = Int64), @p1217='?' (DbType = Int32), @p1212='?' (DbType = Int32), @p1213='?' (DbType = Boolean), @p1214='?' (DbType = Boolean), @p1215='?' (Size = 4000), @p1216='?' (DbType = Int64), @p1223='?' (DbType = Int32), @p1218='?' (DbType = Int32), @p1219='?' (DbType = Boolean), @p1220='?' (DbType = Boolean), @p1221='?' (Size = 4000), @p1222='?' (DbType = Int64), @p1229='?' (DbType = Int32), @p1224='?' (DbType = Int32), @p1225='?' (DbType = Boolean), @p1226='?' (DbType = Boolean), @p1227='?' (Size = 4000), @p1228='?' (DbType = Int64), @p1235='?' (DbType = Int32), @p1230='?' (DbType = Int32), @p1231='?' (DbType = Boolean), @p1232='?' (DbType = Boolean), @p1233='?' (Size = 4000), @p1234='?' (DbType = Int64), @p1241='?' (DbType = Int32), @p1236='?' (DbType = Int32), @p1237='?' (DbType = Boolean), @p1238='?' (DbType = Boolean), @p1239='?' (Size = 4000), @p1240='?' (DbType = Int64), @p1247='?' (DbType = Int32), @p1242='?' (DbType = Int32), @p1243='?' (DbType = Boolean), @p1244='?' (DbType = Boolean), @p1245='?' (Size = 4000), @p1246='?' (DbType = Int64), @p1253='?' (DbType = Int32), @p1248='?' (DbType = Int32), @p1249='?' (DbType = Boolean), @p1250='?' (DbType = Boolean), @p1251='?' (Size = 4000), @p1252='?' (DbType = Int64), @p1259='?' (DbType = Int32), @p1254='?' (DbType = Int32), @p1255='?' (DbType = Boolean), @p1256='?' (DbType = Boolean), @p1257='?' (Size = 4000), @p1258='?' (DbType = Int64), @p1265='?' (DbType = Int32), @p1260='?' (DbType = Int32), @p1261='?' (DbType = Boolean), @p1262='?' (DbType = Boolean), @p1263='?' (Size = 4000), @p1264='?' (DbType = Int64), @p1271='?' (DbType = Int32), @p1266='?' (DbType = Int32), @p1267='?' (DbType = Boolean), @p1268='?' (DbType = Boolean), @p1269='?' (Size = 4000), @p1270='?' (DbType = Int64), @p1277='?' (DbType = Int32), @p1272='?' (DbType = Int32), @p1273='?' (DbType = Boolean), @p1274='?' (DbType = Boolean), @p1275='?' (Size = 4000), @p1276='?' (DbType = Int64), @p1283='?' (DbType = Int32), @p1278='?' (DbType = Int32), @p1279='?' (DbType = Boolean), @p1280='?' (DbType = Boolean), @p1281='?' (Size = 4000), @p1282='?' (DbType = Int64), @p1289='?' (DbType = Int32), @p1284='?' (DbType = Int32), @p1285='?' (DbType = Boolean), @p1286='?' (DbType = Boolean), @p1287='?' (Size = 4000), @p1288='?' (DbType = Int64), @p1295='?' (DbType = Int32), @p1290='?' (DbType = Int32), @p1291='?' (DbType = Boolean), @p1292='?' (DbType = Boolean), @p1293='?' (Size = 4000), @p1294='?' (DbType = Int64), @p1301='?' (DbType = Int32), @p1296='?' (DbType = Int32), @p1297='?' (DbType = Boolean), @p1298='?' (DbType = Boolean), @p1299='?' (Size = 4000), @p1300='?' (DbType = Int64), @p1307='?' (DbType = Int32), @p1302='?' (DbType = Int32), @p1303='?' (DbType = Boolean), @p1304='?' (DbType = Boolean), @p1305='?' (Size = 4000), @p1306='?' (DbType = Int64), @p1313='?' (DbType = Int32), @p1308='?' (DbType = Int32), @p1309='?' (DbType = Boolean), @p1310='?' (DbType = Boolean), @p1311='?' (Size = 4000), @p1312='?' (DbType = Int64), @p1319='?' (DbType = Int32), @p1314='?' (DbType = Int32), @p1315='?' (DbType = Boolean), @p1316='?' (DbType = Boolean), @p1317='?' (Size = 4000), @p1318='?' (DbType = Int64), @p1325='?' (DbType = Int32), @p1320='?' (DbType = Int32), @p1321='?' (DbType = Boolean), @p1322='?' (DbType = Boolean), @p1323='?' (Size = 4000), @p1324='?' (DbType = Int64), @p1331='?' (DbType = Int32), @p1326='?' (DbType = Int32), @p1327='?' (DbType = Boolean), @p1328='?' (DbType = Boolean), @p1329='?' (Size = 4000), @p1330='?' (DbType = Int64), @p1337='?' (DbType = Int32), @p1332='?' (DbType = Int32), @p1333='?' (DbType = Boolean), @p1334='?' (DbType = Boolean), @p1335='?' (Size = 4000), @p1336='?' (DbType = Int64), @p1343='?' (DbType = Int32), @p1338='?' (DbType = Int32), @p1339='?' (DbType = Boolean), @p1340='?' (DbType = Boolean), @p1341='?' (Size = 4000), @p1342='?' (DbType = Int64), @p1349='?' (DbType = Int32), @p1344='?' (DbType = Int32), @p1345='?' (DbType = Boolean), @p1346='?' (DbType = Boolean), @p1347='?' (Size = 4000), @p1348='?' (DbType = Int64), @p1355='?' (DbType = Int32), @p1350='?' (DbType = Int32), @p1351='?' (DbType = Boolean), @p1352='?' (DbType = Boolean), @p1353='?' (Size = 4000), @p1354='?' (DbType = Int64), @p1361='?' (DbType = Int32), @p1356='?' (DbType = Int32), @p1357='?' (DbType = Boolean), @p1358='?' (DbType = Boolean), @p1359='?' (Size = 4000), @p1360='?' (DbType = Int64), @p1367='?' (DbType = Int32), @p1362='?' (DbType = Int32), @p1363='?' (DbType = Boolean), @p1364='?' (DbType = Boolean), @p1365='?' (Size = 4000), @p1366='?' (DbType = Int64), @p1373='?' (DbType = Int32), @p1368='?' (DbType = Int32), @p1369='?' (DbType = Boolean), @p1370='?' (DbType = Boolean), @p1371='?' (Size = 4000), @p1372='?' (DbType = Int64), @p1379='?' (DbType = Int32), @p1374='?' (DbType = Int32), @p1375='?' (DbType = Boolean), @p1376='?' (DbType = Boolean), @p1377='?' (Size = 4000), @p1378='?' (DbType = Int64), @p1385='?' (DbType = Int32), @p1380='?' (DbType = Int32), @p1381='?' (DbType = Boolean), @p1382='?' (DbType = Boolean), @p1383='?' (Size = 4000), @p1384='?' (DbType = Int64), @p1391='?' (DbType = Int32), @p1386='?' (DbType = Int32), @p1387='?' (DbType = Boolean), @p1388='?' (DbType = Boolean), @p1389='?' (Size = 4000), @p1390='?' (DbType = Int64), @p1397='?' (DbType = Int32), @p1392='?' (DbType = Int32), @p1393='?' (DbType = Boolean), @p1394='?' (DbType = Boolean), @p1395='?' (Size = 4000), @p1396='?' (DbType = Int64), @p1403='?' (DbType = Int32), @p1398='?' (DbType = Int32), @p1399='?' (DbType = Boolean), @p1400='?' (DbType = Boolean), @p1401='?' (Size = 4000), @p1402='?' (DbType = Int64), @p1409='?' (DbType = Int32), @p1404='?' (DbType = Int32), @p1405='?' (DbType = Boolean), @p1406='?' (DbType = Boolean), @p1407='?' (Size = 4000), @p1408='?' (DbType = Int64), @p1415='?' (DbType = Int32), @p1410='?' (DbType = Int32), @p1411='?' (DbType = Boolean), @p1412='?' (DbType = Boolean), @p1413='?' (Size = 4000), @p1414='?' (DbType = Int64), @p1421='?' (DbType = Int32), @p1416='?' (DbType = Int32), @p1417='?' (DbType = Boolean), @p1418='?' (DbType = Boolean), @p1419='?' (Size = 4000), @p1420='?' (DbType = Int64), @p1427='?' (DbType = Int32), @p1422='?' (DbType = Int32), @p1423='?' (DbType = Boolean), @p1424='?' (DbType = Boolean), @p1425='?' (Size = 4000), @p1426='?' (DbType = Int64), @p1433='?' (DbType = Int32), @p1428='?' (DbType = Int32), @p1429='?' (DbType = Boolean), @p1430='?' (DbType = Boolean), @p1431='?' (Size = 4000), @p1432='?' (DbType = Int64), @p1439='?' (DbType = Int32), @p1434='?' (DbType = Int32), @p1435='?' (DbType = Boolean), @p1436='?' (DbType = Boolean), @p1437='?' (Size = 4000), @p1438='?' (DbType = Int64), @p1445='?' (DbType = Int32), @p1440='?' (DbType = Int32), @p1441='?' (DbType = Boolean), @p1442='?' (DbType = Boolean), @p1443='?' (Size = 4000), @p1444='?' (DbType = Int64), @p1451='?' (DbType = Int32), @p1446='?' (DbType = Int32), @p1447='?' (DbType = Boolean), @p1448='?' (DbType = Boolean), @p1449='?' (Size = 4000), @p1450='?' (DbType = Int64), @p1457='?' (DbType = Int32), @p1452='?' (DbType = Int32), @p1453='?' (DbType = Boolean), @p1454='?' (DbType = Boolean), @p1455='?' (Size = 4000), @p1456='?' (DbType = Int64), @p1463='?' (DbType = Int32), @p1458='?' (DbType = Int32), @p1459='?' (DbType = Boolean), @p1460='?' (DbType = Boolean), @p1461='?' (Size = 4000), @p1462='?' (DbType = Int64), @p1469='?' (DbType = Int32), @p1464='?' (DbType = Int32), @p1465='?' (DbType = Boolean), @p1466='?' (DbType = Boolean), @p1467='?' (Size = 4000), @p1468='?' (DbType = Int64), @p1475='?' (DbType = Int32), @p1470='?' (DbType = Int32), @p1471='?' (DbType = Boolean), @p1472='?' (DbType = Boolean), @p1473='?' (Size = 4000), @p1474='?' (DbType = Int64), @p1481='?' (DbType = Int32), @p1476='?' (DbType = Int32), @p1477='?' (DbType = Boolean), @p1478='?' (DbType = Boolean), @p1479='?' (Size = 4000), @p1480='?' (DbType = Int64), @p1487='?' (DbType = Int32), @p1482='?' (DbType = Int32), @p1483='?' (DbType = Boolean), @p1484='?' (DbType = Boolean), @p1485='?' (Size = 4000), @p1486='?' (DbType = Int64), @p1493='?' (DbType = Int32), @p1488='?' (DbType = Int32), @p1489='?' (DbType = Boolean), @p1490='?' (DbType = Boolean), @p1491='?' (Size = 4000), @p1492='?' (DbType = Int64), @p1499='?' (DbType = Int32), @p1494='?' (DbType = Int32), @p1495='?' (DbType = Boolean), @p1496='?' (DbType = Boolean), @p1497='?' (Size = 4000), @p1498='?' (DbType = Int64), @p1505='?' (DbType = Int32), @p1500='?' (DbType = Int32), @p1501='?' (DbType = Boolean), @p1502='?' (DbType = Boolean), @p1503='?' (Size = 4000), @p1504='?' (DbType = Int64), @p1511='?' (DbType = Int32), @p1506='?' (DbType = Int32), @p1507='?' (DbType = Boolean), @p1508='?' (DbType = Boolean), @p1509='?' (Size = 4000), @p1510='?' (DbType = Int64), @p1517='?' (DbType = Int32), @p1512='?' (DbType = Int32), @p1513='?' (DbType = Boolean), @p1514='?' (DbType = Boolean), @p1515='?' (Size = 4000), @p1516='?' (DbType = Int64), @p1523='?' (DbType = Int32), @p1518='?' (DbType = Int32), @p1519='?' (DbType = Boolean), @p1520='?' (DbType = Boolean), @p1521='?' (Size = 4000), @p1522='?' (DbType = Int64), @p1529='?' (DbType = Int32), @p1524='?' (DbType = Int32), @p1525='?' (DbType = Boolean), @p1526='?' (DbType = Boolean), @p1527='?' (Size = 4000), @p1528='?' (DbType = Int64), @p1535='?' (DbType = Int32), @p1530='?' (DbType = Int32), @p1531='?' (DbType = Boolean), @p1532='?' (DbType = Boolean), @p1533='?' (Size = 4000), @p1534='?' (DbType = Int64), @p1541='?' (DbType = Int32), @p1536='?' (DbType = Int32), @p1537='?' (DbType = Boolean), @p1538='?' (DbType = Boolean), @p1539='?' (Size = 4000), @p1540='?' (DbType = Int64), @p1547='?' (DbType = Int32), @p1542='?' (DbType = Int32), @p1543='?' (DbType = Boolean), @p1544='?' (DbType = Boolean), @p1545='?' (Size = 4000), @p1546='?' (DbType = Int64), @p1553='?' (DbType = Int32), @p1548='?' (DbType = Int32), @p1549='?' (DbType = Boolean), @p1550='?' (DbType = Boolean), @p1551='?' (Size = 4000), @p1552='?' (DbType = Int64), @p1559='?' (DbType = Int32), @p1554='?' (DbType = Int32), @p1555='?' (DbType = Boolean), @p1556='?' (DbType = Boolean), @p1557='?' (Size = 4000), @p1558='?' (DbType = Int64), @p1565='?' (DbType = Int32), @p1560='?' (DbType = Int32), @p1561='?' (DbType = Boolean), @p1562='?' (DbType = Boolean), @p1563='?' (Size = 4000), @p1564='?' (DbType = Int64), @p1571='?' (DbType = Int32), @p1566='?' (DbType = Int32), @p1567='?' (DbType = Boolean), @p1568='?' (DbType = Boolean), @p1569='?' (Size = 4000), @p1570='?' (DbType = Int64), @p1577='?' (DbType = Int32), @p1572='?' (DbType = Int32), @p1573='?' (DbType = Boolean), @p1574='?' (DbType = Boolean), @p1575='?' (Size = 4000), @p1576='?' (DbType = Int64), @p1583='?' (DbType = Int32), @p1578='?' (DbType = Int32), @p1579='?' (DbType = Boolean), @p1580='?' (DbType = Boolean), @p1581='?' (Size = 4000), @p1582='?' (DbType = Int64), @p1589='?' (DbType = Int32), @p1584='?' (DbType = Int32), @p1585='?' (DbType = Boolean), @p1586='?' (DbType = Boolean), @p1587='?' (Size = 4000), @p1588='?' (DbType = Int64), @p1595='?' (DbType = Int32), @p1590='?' (DbType = Int32), @p1591='?' (DbType = Boolean), @p1592='?' (DbType = Boolean), @p1593='?' (Size = 4000), @p1594='?' (DbType = Int64), @p1601='?' (DbType = Int32), @p1596='?' (DbType = Int32), @p1597='?' (DbType = Boolean), @p1598='?' (DbType = Boolean), @p1599='?' (Size = 4000), @p1600='?' (DbType = Int64), @p1607='?' (DbType = Int32), @p1602='?' (DbType = Int32), @p1603='?' (DbType = Boolean), @p1604='?' (DbType = Boolean), @p1605='?' (Size = 4000), @p1606='?' (DbType = Int64), @p1613='?' (DbType = Int32), @p1608='?' (DbType = Int32), @p1609='?' (DbType = Boolean), @p1610='?' (DbType = Boolean), @p1611='?' (Size = 4000), @p1612='?' (DbType = Int64), @p1619='?' (DbType = Int32), @p1614='?' (DbType = Int32), @p1615='?' (DbType = Boolean), @p1616='?' (DbType = Boolean), @p1617='?' (Size = 4000), @p1618='?' (DbType = Int64), @p1625='?' (DbType = Int32), @p1620='?' (DbType = Int32), @p1621='?' (DbType = Boolean), @p1622='?' (DbType = Boolean), @p1623='?' (Size = 4000), @p1624='?' (DbType = Int64), @p1631='?' (DbType = Int32), @p1626='?' (DbType = Int32), @p1627='?' (DbType = Boolean), @p1628='?' (DbType = Boolean), @p1629='?' (Size = 4000), @p1630='?' (DbType = Int64), @p1637='?' (DbType = Int32), @p1632='?' (DbType = Int32), @p1633='?' (DbType = Boolean), @p1634='?' (DbType = Boolean), @p1635='?' (Size = 4000), @p1636='?' (DbType = Int64), @p1643='?' (DbType = Int32), @p1638='?' (DbType = Int32), @p1639='?' (DbType = Boolean), @p1640='?' (DbType = Boolean), @p1641='?' (Size = 4000), @p1642='?' (DbType = Int64), @p1649='?' (DbType = Int32), @p1644='?' (DbType = Int32), @p1645='?' (DbType = Boolean), @p1646='?' (DbType = Boolean), @p1647='?' (Size = 4000), @p1648='?' (DbType = Int64), @p1655='?' (DbType = Int32), @p1650='?' (DbType = Int32), @p1651='?' (DbType = Boolean), @p1652='?' (DbType = Boolean), @p1653='?' (Size = 4000), @p1654='?' (DbType = Int64), @p1661='?' (DbType = Int32), @p1656='?' (DbType = Int32), @p1657='?' (DbType = Boolean), @p1658='?' (DbType = Boolean), @p1659='?' (Size = 4000), @p1660='?' (DbType = Int64), @p1667='?' (DbType = Int32), @p1662='?' (DbType = Int32), @p1663='?' (DbType = Boolean), @p1664='?' (DbType = Boolean), @p1665='?' (Size = 4000), @p1666='?' (DbType = Int64), @p1673='?' (DbType = Int32), @p1668='?' (DbType = Int32), @p1669='?' (DbType = Boolean), @p1670='?' (DbType = Boolean), @p1671='?' (Size = 4000), @p1672='?' (DbType = Int64), @p1679='?' (DbType = Int32), @p1674='?' (DbType = Int32), @p1675='?' (DbType = Boolean), @p1676='?' (DbType = Boolean), @p1677='?' (Size = 4000), @p1678='?' (DbType = Int64), @p1685='?' (DbType = Int32), @p1680='?' (DbType = Int32), @p1681='?' (DbType = Boolean), @p1682='?' (DbType = Boolean), @p1683='?' (Size = 4000), @p1684='?' (DbType = Int64), @p1691='?' (DbType = Int32), @p1686='?' (DbType = Int32), @p1687='?' (DbType = Boolean), @p1688='?' (DbType = Boolean), @p1689='?' (Size = 4000), @p1690='?' (DbType = Int64), @p1697='?' (DbType = Int32), @p1692='?' (DbType = Int32), @p1693='?' (DbType = Boolean), @p1694='?' (DbType = Boolean), @p1695='?' (Size = 4000), @p1696='?' (DbType = Int64), @p1703='?' (DbType = Int32), @p1698='?' (DbType = Int32), @p1699='?' (DbType = Boolean), @p1700='?' (DbType = Boolean), @p1701='?' (Size = 4000), @p1702='?' (DbType = Int64), @p1709='?' (DbType = Int32), @p1704='?' (DbType = Int32), @p1705='?' (DbType = Boolean), @p1706='?' (DbType = Boolean), @p1707='?' (Size = 4000), @p1708='?' (DbType = Int64), @p1715='?' (DbType = Int32), @p1710='?' (DbType = Int32), @p1711='?' (DbType = Boolean), @p1712='?' (DbType = Boolean), @p1713='?' (Size = 4000), @p1714='?' (DbType = Int64), @p1721='?' (DbType = Int32), @p1716='?' (DbType = Int32), @p1717='?' (DbType = Boolean), @p1718='?' (DbType = Boolean), @p1719='?' (Size = 4000), @p1720='?' (DbType = Int64), @p1727='?' (DbType = Int32), @p1722='?' (DbType = Int32), @p1723='?' (DbType = Boolean), @p1724='?' (DbType = Boolean), @p1725='?' (Size = 4000), @p1726='?' (DbType = Int64), @p1733='?' (DbType = Int32), @p1728='?' (DbType = Int32), @p1729='?' (DbType = Boolean), @p1730='?' (DbType = Boolean), @p1731='?' (Size = 4000), @p1732='?' (DbType = Int64), @p1739='?' (DbType = Int32), @p1734='?' (DbType = Int32), @p1735='?' (DbType = Boolean), @p1736='?' (DbType = Boolean), @p1737='?' (Size = 4000), @p1738='?' (DbType = Int64), @p1745='?' (DbType = Int32), @p1740='?' (DbType = Int32), @p1741='?' (DbType = Boolean), @p1742='?' (DbType = Boolean), @p1743='?' (Size = 4000), @p1744='?' (DbType = Int64), @p1751='?' (DbType = Int32), @p1746='?' (DbType = Int32), @p1747='?' (DbType = Boolean), @p1748='?' (DbType = Boolean), @p1749='?' (Size = 4000), @p1750='?' (DbType = Int64), @p1757='?' (DbType = Int32), @p1752='?' (DbType = Int32), @p1753='?' (DbType = Boolean), @p1754='?' (DbType = Boolean), @p1755='?' (Size = 4000), @p1756='?' (DbType = Int64), @p1763='?' (DbType = Int32), @p1758='?' (DbType = Int32), @p1759='?' (DbType = Boolean), @p1760='?' (DbType = Boolean), @p1761='?' (Size = 4000), @p1762='?' (DbType = Int64), @p1769='?' (DbType = Int32), @p1764='?' (DbType = Int32), @p1765='?' (DbType = Boolean), @p1766='?' (DbType = Boolean), @p1767='?' (Size = 4000), @p1768='?' (DbType = Int64), @p1775='?' (DbType = Int32), @p1770='?' (DbType = Int32), @p1771='?' (DbType = Boolean), @p1772='?' (DbType = Boolean), @p1773='?' (Size = 4000), @p1774='?' (DbType = Int64), @p1781='?' (DbType = Int32), @p1776='?' (DbType = Int32), @p1777='?' (DbType = Boolean), @p1778='?' (DbType = Boolean), @p1779='?' (Size = 4000), @p1780='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p78, `IsActive` = @p79, `IsDeleted` = @p80, `Name` = @p81, `SourceId` = @p82
WHERE `Id` = @p83;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p84, `IsActive` = @p85, `IsDeleted` = @p86, `Name` = @p87, `SourceId` = @p88
WHERE `Id` = @p89;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p90, `IsActive` = @p91, `IsDeleted` = @p92, `Name` = @p93, `SourceId` = @p94
WHERE `Id` = @p95;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p96, `IsActive` = @p97, `IsDeleted` = @p98, `Name` = @p99, `SourceId` = @p100
WHERE `Id` = @p101;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p102, `IsActive` = @p103, `IsDeleted` = @p104, `Name` = @p105, `SourceId` = @p106
WHERE `Id` = @p107;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p108, `IsActive` = @p109, `IsDeleted` = @p110, `Name` = @p111, `SourceId` = @p112
WHERE `Id` = @p113;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p114, `IsActive` = @p115, `IsDeleted` = @p116, `Name` = @p117, `SourceId` = @p118
WHERE `Id` = @p119;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p120, `IsActive` = @p121, `IsDeleted` = @p122, `Name` = @p123, `SourceId` = @p124
WHERE `Id` = @p125;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p126, `IsActive` = @p127, `IsDeleted` = @p128, `Name` = @p129, `SourceId` = @p130
WHERE `Id` = @p131;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p132, `IsActive` = @p133, `IsDeleted` = @p134, `Name` = @p135, `SourceId` = @p136
WHERE `Id` = @p137;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p138, `IsActive` = @p139, `IsDeleted` = @p140, `Name` = @p141, `SourceId` = @p142
WHERE `Id` = @p143;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p144, `IsActive` = @p145, `IsDeleted` = @p146, `Name` = @p147, `SourceId` = @p148
WHERE `Id` = @p149;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p150, `IsActive` = @p151, `IsDeleted` = @p152, `Name` = @p153, `SourceId` = @p154
WHERE `Id` = @p155;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p156, `IsActive` = @p157, `IsDeleted` = @p158, `Name` = @p159, `SourceId` = @p160
WHERE `Id` = @p161;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p162, `IsActive` = @p163, `IsDeleted` = @p164, `Name` = @p165, `SourceId` = @p166
WHERE `Id` = @p167;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p168, `IsActive` = @p169, `IsDeleted` = @p170, `Name` = @p171, `SourceId` = @p172
WHERE `Id` = @p173;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p174, `IsActive` = @p175, `IsDeleted` = @p176, `Name` = @p177, `SourceId` = @p178
WHERE `Id` = @p179;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p180, `IsActive` = @p181, `IsDeleted` = @p182, `Name` = @p183, `SourceId` = @p184
WHERE `Id` = @p185;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p186, `IsActive` = @p187, `IsDeleted` = @p188, `Name` = @p189, `SourceId` = @p190
WHERE `Id` = @p191;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p192, `IsActive` = @p193, `IsDeleted` = @p194, `Name` = @p195, `SourceId` = @p196
WHERE `Id` = @p197;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p198, `IsActive` = @p199, `IsDeleted` = @p200, `Name` = @p201, `SourceId` = @p202
WHERE `Id` = @p203;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p204, `IsActive` = @p205, `IsDeleted` = @p206, `Name` = @p207, `SourceId` = @p208
WHERE `Id` = @p209;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p210, `IsActive` = @p211, `IsDeleted` = @p212, `Name` = @p213, `SourceId` = @p214
WHERE `Id` = @p215;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p216, `IsActive` = @p217, `IsDeleted` = @p218, `Name` = @p219, `SourceId` = @p220
WHERE `Id` = @p221;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p222, `IsActive` = @p223, `IsDeleted` = @p224, `Name` = @p225, `SourceId` = @p226
WHERE `Id` = @p227;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p228, `IsActive` = @p229, `IsDeleted` = @p230, `Name` = @p231, `SourceId` = @p232
WHERE `Id` = @p233;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p234, `IsActive` = @p235, `IsDeleted` = @p236, `Name` = @p237, `SourceId` = @p238
WHERE `Id` = @p239;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p240, `IsActive` = @p241, `IsDeleted` = @p242, `Name` = @p243, `SourceId` = @p244
WHERE `Id` = @p245;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p246, `IsActive` = @p247, `IsDeleted` = @p248, `Name` = @p249, `SourceId` = @p250
WHERE `Id` = @p251;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p252, `IsActive` = @p253, `IsDeleted` = @p254, `Name` = @p255, `SourceId` = @p256
WHERE `Id` = @p257;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p258, `IsActive` = @p259, `IsDeleted` = @p260, `Name` = @p261, `SourceId` = @p262
WHERE `Id` = @p263;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p264, `IsActive` = @p265, `IsDeleted` = @p266, `Name` = @p267, `SourceId` = @p268
WHERE `Id` = @p269;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p270, `IsActive` = @p271, `IsDeleted` = @p272, `Name` = @p273, `SourceId` = @p274
WHERE `Id` = @p275;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p276, `IsActive` = @p277, `IsDeleted` = @p278, `Name` = @p279, `SourceId` = @p280
WHERE `Id` = @p281;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p282, `IsActive` = @p283, `IsDeleted` = @p284, `Name` = @p285, `SourceId` = @p286
WHERE `Id` = @p287;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p288, `IsActive` = @p289, `IsDeleted` = @p290, `Name` = @p291, `SourceId` = @p292
WHERE `Id` = @p293;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p294, `IsActive` = @p295, `IsDeleted` = @p296, `Name` = @p297, `SourceId` = @p298
WHERE `Id` = @p299;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p300, `IsActive` = @p301, `IsDeleted` = @p302, `Name` = @p303, `SourceId` = @p304
WHERE `Id` = @p305;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p306, `IsActive` = @p307, `IsDeleted` = @p308, `Name` = @p309, `SourceId` = @p310
WHERE `Id` = @p311;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p312, `IsActive` = @p313, `IsDeleted` = @p314, `Name` = @p315, `SourceId` = @p316
WHERE `Id` = @p317;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p318, `IsActive` = @p319, `IsDeleted` = @p320, `Name` = @p321, `SourceId` = @p322
WHERE `Id` = @p323;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p324, `IsActive` = @p325, `IsDeleted` = @p326, `Name` = @p327, `SourceId` = @p328
WHERE `Id` = @p329;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p330, `IsActive` = @p331, `IsDeleted` = @p332, `Name` = @p333, `SourceId` = @p334
WHERE `Id` = @p335;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p336, `IsActive` = @p337, `IsDeleted` = @p338, `Name` = @p339, `SourceId` = @p340
WHERE `Id` = @p341;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p342, `IsActive` = @p343, `IsDeleted` = @p344, `Name` = @p345, `SourceId` = @p346
WHERE `Id` = @p347;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p348, `IsActive` = @p349, `IsDeleted` = @p350, `Name` = @p351, `SourceId` = @p352
WHERE `Id` = @p353;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p354, `IsActive` = @p355, `IsDeleted` = @p356, `Name` = @p357, `SourceId` = @p358
WHERE `Id` = @p359;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p360, `IsActive` = @p361, `IsDeleted` = @p362, `Name` = @p363, `SourceId` = @p364
WHERE `Id` = @p365;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p366, `IsActive` = @p367, `IsDeleted` = @p368, `Name` = @p369, `SourceId` = @p370
WHERE `Id` = @p371;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p372, `IsActive` = @p373, `IsDeleted` = @p374, `Name` = @p375, `SourceId` = @p376
WHERE `Id` = @p377;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p378, `IsActive` = @p379, `IsDeleted` = @p380, `Name` = @p381, `SourceId` = @p382
WHERE `Id` = @p383;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p384, `IsActive` = @p385, `IsDeleted` = @p386, `Name` = @p387, `SourceId` = @p388
WHERE `Id` = @p389;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p390, `IsActive` = @p391, `IsDeleted` = @p392, `Name` = @p393, `SourceId` = @p394
WHERE `Id` = @p395;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p396, `IsActive` = @p397, `IsDeleted` = @p398, `Name` = @p399, `SourceId` = @p400
WHERE `Id` = @p401;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p402, `IsActive` = @p403, `IsDeleted` = @p404, `Name` = @p405, `SourceId` = @p406
WHERE `Id` = @p407;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p408, `IsActive` = @p409, `IsDeleted` = @p410, `Name` = @p411, `SourceId` = @p412
WHERE `Id` = @p413;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p414, `IsActive` = @p415, `IsDeleted` = @p416, `Name` = @p417, `SourceId` = @p418
WHERE `Id` = @p419;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p420, `IsActive` = @p421, `IsDeleted` = @p422, `Name` = @p423, `SourceId` = @p424
WHERE `Id` = @p425;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p426, `IsActive` = @p427, `IsDeleted` = @p428, `Name` = @p429, `SourceId` = @p430
WHERE `Id` = @p431;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p432, `IsActive` = @p433, `IsDeleted` = @p434, `Name` = @p435, `SourceId` = @p436
WHERE `Id` = @p437;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p438, `IsActive` = @p439, `IsDeleted` = @p440, `Name` = @p441, `SourceId` = @p442
WHERE `Id` = @p443;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p444, `IsActive` = @p445, `IsDeleted` = @p446, `Name` = @p447, `SourceId` = @p448
WHERE `Id` = @p449;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p450, `IsActive` = @p451, `IsDeleted` = @p452, `Name` = @p453, `SourceId` = @p454
WHERE `Id` = @p455;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p456, `IsActive` = @p457, `IsDeleted` = @p458, `Name` = @p459, `SourceId` = @p460
WHERE `Id` = @p461;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p462, `IsActive` = @p463, `IsDeleted` = @p464, `Name` = @p465, `SourceId` = @p466
WHERE `Id` = @p467;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p468, `IsActive` = @p469, `IsDeleted` = @p470, `Name` = @p471, `SourceId` = @p472
WHERE `Id` = @p473;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p474, `IsActive` = @p475, `IsDeleted` = @p476, `Name` = @p477, `SourceId` = @p478
WHERE `Id` = @p479;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p480, `IsActive` = @p481, `IsDeleted` = @p482, `Name` = @p483, `SourceId` = @p484
WHERE `Id` = @p485;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p486, `IsActive` = @p487, `IsDeleted` = @p488, `Name` = @p489, `SourceId` = @p490
WHERE `Id` = @p491;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p492, `IsActive` = @p493, `IsDeleted` = @p494, `Name` = @p495, `SourceId` = @p496
WHERE `Id` = @p497;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p498, `IsActive` = @p499, `IsDeleted` = @p500, `Name` = @p501, `SourceId` = @p502
WHERE `Id` = @p503;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p504, `IsActive` = @p505, `IsDeleted` = @p506, `Name` = @p507, `SourceId` = @p508
WHERE `Id` = @p509;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p510, `IsActive` = @p511, `IsDeleted` = @p512, `Name` = @p513, `SourceId` = @p514
WHERE `Id` = @p515;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p516, `IsActive` = @p517, `IsDeleted` = @p518, `Name` = @p519, `SourceId` = @p520
WHERE `Id` = @p521;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p522, `IsActive` = @p523, `IsDeleted` = @p524, `Name` = @p525, `SourceId` = @p526
WHERE `Id` = @p527;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p528, `IsActive` = @p529, `IsDeleted` = @p530, `Name` = @p531, `SourceId` = @p532
WHERE `Id` = @p533;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p534, `IsActive` = @p535, `IsDeleted` = @p536, `Name` = @p537, `SourceId` = @p538
WHERE `Id` = @p539;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p540, `IsActive` = @p541, `IsDeleted` = @p542, `Name` = @p543, `SourceId` = @p544
WHERE `Id` = @p545;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p546, `IsActive` = @p547, `IsDeleted` = @p548, `Name` = @p549, `SourceId` = @p550
WHERE `Id` = @p551;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p552, `IsActive` = @p553, `IsDeleted` = @p554, `Name` = @p555, `SourceId` = @p556
WHERE `Id` = @p557;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p558, `IsActive` = @p559, `IsDeleted` = @p560, `Name` = @p561, `SourceId` = @p562
WHERE `Id` = @p563;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p564, `IsActive` = @p565, `IsDeleted` = @p566, `Name` = @p567, `SourceId` = @p568
WHERE `Id` = @p569;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p570, `IsActive` = @p571, `IsDeleted` = @p572, `Name` = @p573, `SourceId` = @p574
WHERE `Id` = @p575;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p576, `IsActive` = @p577, `IsDeleted` = @p578, `Name` = @p579, `SourceId` = @p580
WHERE `Id` = @p581;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p582, `IsActive` = @p583, `IsDeleted` = @p584, `Name` = @p585, `SourceId` = @p586
WHERE `Id` = @p587;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p588, `IsActive` = @p589, `IsDeleted` = @p590, `Name` = @p591, `SourceId` = @p592
WHERE `Id` = @p593;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p594, `IsActive` = @p595, `IsDeleted` = @p596, `Name` = @p597, `SourceId` = @p598
WHERE `Id` = @p599;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p600, `IsActive` = @p601, `IsDeleted` = @p602, `Name` = @p603, `SourceId` = @p604
WHERE `Id` = @p605;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p606, `IsActive` = @p607, `IsDeleted` = @p608, `Name` = @p609, `SourceId` = @p610
WHERE `Id` = @p611;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p612, `IsActive` = @p613, `IsDeleted` = @p614, `Name` = @p615, `SourceId` = @p616
WHERE `Id` = @p617;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p618, `IsActive` = @p619, `IsDeleted` = @p620, `Name` = @p621, `SourceId` = @p622
WHERE `Id` = @p623;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p624, `IsActive` = @p625, `IsDeleted` = @p626, `Name` = @p627, `SourceId` = @p628
WHERE `Id` = @p629;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p630, `IsActive` = @p631, `IsDeleted` = @p632, `Name` = @p633, `SourceId` = @p634
WHERE `Id` = @p635;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p636, `IsActive` = @p637, `IsDeleted` = @p638, `Name` = @p639, `SourceId` = @p640
WHERE `Id` = @p641;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p642, `IsActive` = @p643, `IsDeleted` = @p644, `Name` = @p645, `SourceId` = @p646
WHERE `Id` = @p647;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p648, `IsActive` = @p649, `IsDeleted` = @p650, `Name` = @p651, `SourceId` = @p652
WHERE `Id` = @p653;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p654, `IsActive` = @p655, `IsDeleted` = @p656, `Name` = @p657, `SourceId` = @p658
WHERE `Id` = @p659;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p660, `IsActive` = @p661, `IsDeleted` = @p662, `Name` = @p663, `SourceId` = @p664
WHERE `Id` = @p665;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p666, `IsActive` = @p667, `IsDeleted` = @p668, `Name` = @p669, `SourceId` = @p670
WHERE `Id` = @p671;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p672, `IsActive` = @p673, `IsDeleted` = @p674, `Name` = @p675, `SourceId` = @p676
WHERE `Id` = @p677;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p678, `IsActive` = @p679, `IsDeleted` = @p680, `Name` = @p681, `SourceId` = @p682
WHERE `Id` = @p683;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p684, `IsActive` = @p685, `IsDeleted` = @p686, `Name` = @p687, `SourceId` = @p688
WHERE `Id` = @p689;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p690, `IsActive` = @p691, `IsDeleted` = @p692, `Name` = @p693, `SourceId` = @p694
WHERE `Id` = @p695;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p696, `IsActive` = @p697, `IsDeleted` = @p698, `Name` = @p699, `SourceId` = @p700
WHERE `Id` = @p701;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p702, `IsActive` = @p703, `IsDeleted` = @p704, `Name` = @p705, `SourceId` = @p706
WHERE `Id` = @p707;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p708, `IsActive` = @p709, `IsDeleted` = @p710, `Name` = @p711, `SourceId` = @p712
WHERE `Id` = @p713;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p714, `IsActive` = @p715, `IsDeleted` = @p716, `Name` = @p717, `SourceId` = @p718
WHERE `Id` = @p719;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p720, `IsActive` = @p721, `IsDeleted` = @p722, `Name` = @p723, `SourceId` = @p724
WHERE `Id` = @p725;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p726, `IsActive` = @p727, `IsDeleted` = @p728, `Name` = @p729, `SourceId` = @p730
WHERE `Id` = @p731;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p732, `IsActive` = @p733, `IsDeleted` = @p734, `Name` = @p735, `SourceId` = @p736
WHERE `Id` = @p737;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p738, `IsActive` = @p739, `IsDeleted` = @p740, `Name` = @p741, `SourceId` = @p742
WHERE `Id` = @p743;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p744, `IsActive` = @p745, `IsDeleted` = @p746, `Name` = @p747, `SourceId` = @p748
WHERE `Id` = @p749;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p750, `IsActive` = @p751, `IsDeleted` = @p752, `Name` = @p753, `SourceId` = @p754
WHERE `Id` = @p755;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p756, `IsActive` = @p757, `IsDeleted` = @p758, `Name` = @p759, `SourceId` = @p760
WHERE `Id` = @p761;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p762, `IsActive` = @p763, `IsDeleted` = @p764, `Name` = @p765, `SourceId` = @p766
WHERE `Id` = @p767;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p768, `IsActive` = @p769, `IsDeleted` = @p770, `Name` = @p771, `SourceId` = @p772
WHERE `Id` = @p773;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p774, `IsActive` = @p775, `IsDeleted` = @p776, `Name` = @p777, `SourceId` = @p778
WHERE `Id` = @p779;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p780, `IsActive` = @p781, `IsDeleted` = @p782, `Name` = @p783, `SourceId` = @p784
WHERE `Id` = @p785;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p786, `IsActive` = @p787, `IsDeleted` = @p788, `Name` = @p789, `SourceId` = @p790
WHERE `Id` = @p791;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p792, `IsActive` = @p793, `IsDeleted` = @p794, `Name` = @p795, `SourceId` = @p796
WHERE `Id` = @p797;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p798, `IsActive` = @p799, `IsDeleted` = @p800, `Name` = @p801, `SourceId` = @p802
WHERE `Id` = @p803;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p804, `IsActive` = @p805, `IsDeleted` = @p806, `Name` = @p807, `SourceId` = @p808
WHERE `Id` = @p809;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p810, `IsActive` = @p811, `IsDeleted` = @p812, `Name` = @p813, `SourceId` = @p814
WHERE `Id` = @p815;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p816, `IsActive` = @p817, `IsDeleted` = @p818, `Name` = @p819, `SourceId` = @p820
WHERE `Id` = @p821;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p822, `IsActive` = @p823, `IsDeleted` = @p824, `Name` = @p825, `SourceId` = @p826
WHERE `Id` = @p827;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p828, `IsActive` = @p829, `IsDeleted` = @p830, `Name` = @p831, `SourceId` = @p832
WHERE `Id` = @p833;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p834, `IsActive` = @p835, `IsDeleted` = @p836, `Name` = @p837, `SourceId` = @p838
WHERE `Id` = @p839;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p840, `IsActive` = @p841, `IsDeleted` = @p842, `Name` = @p843, `SourceId` = @p844
WHERE `Id` = @p845;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p846, `IsActive` = @p847, `IsDeleted` = @p848, `Name` = @p849, `SourceId` = @p850
WHERE `Id` = @p851;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p852, `IsActive` = @p853, `IsDeleted` = @p854, `Name` = @p855, `SourceId` = @p856
WHERE `Id` = @p857;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p858, `IsActive` = @p859, `IsDeleted` = @p860, `Name` = @p861, `SourceId` = @p862
WHERE `Id` = @p863;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p864, `IsActive` = @p865, `IsDeleted` = @p866, `Name` = @p867, `SourceId` = @p868
WHERE `Id` = @p869;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p870, `IsActive` = @p871, `IsDeleted` = @p872, `Name` = @p873, `SourceId` = @p874
WHERE `Id` = @p875;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p876, `IsActive` = @p877, `IsDeleted` = @p878, `Name` = @p879, `SourceId` = @p880
WHERE `Id` = @p881;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p882, `IsActive` = @p883, `IsDeleted` = @p884, `Name` = @p885, `SourceId` = @p886
WHERE `Id` = @p887;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p888, `IsActive` = @p889, `IsDeleted` = @p890, `Name` = @p891, `SourceId` = @p892
WHERE `Id` = @p893;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p894, `IsActive` = @p895, `IsDeleted` = @p896, `Name` = @p897, `SourceId` = @p898
WHERE `Id` = @p899;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p900, `IsActive` = @p901, `IsDeleted` = @p902, `Name` = @p903, `SourceId` = @p904
WHERE `Id` = @p905;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p906, `IsActive` = @p907, `IsDeleted` = @p908, `Name` = @p909, `SourceId` = @p910
WHERE `Id` = @p911;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p912, `IsActive` = @p913, `IsDeleted` = @p914, `Name` = @p915, `SourceId` = @p916
WHERE `Id` = @p917;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p918, `IsActive` = @p919, `IsDeleted` = @p920, `Name` = @p921, `SourceId` = @p922
WHERE `Id` = @p923;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p924, `IsActive` = @p925, `IsDeleted` = @p926, `Name` = @p927, `SourceId` = @p928
WHERE `Id` = @p929;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p930, `IsActive` = @p931, `IsDeleted` = @p932, `Name` = @p933, `SourceId` = @p934
WHERE `Id` = @p935;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p936, `IsActive` = @p937, `IsDeleted` = @p938, `Name` = @p939, `SourceId` = @p940
WHERE `Id` = @p941;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p942, `IsActive` = @p943, `IsDeleted` = @p944, `Name` = @p945, `SourceId` = @p946
WHERE `Id` = @p947;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p948, `IsActive` = @p949, `IsDeleted` = @p950, `Name` = @p951, `SourceId` = @p952
WHERE `Id` = @p953;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p954, `IsActive` = @p955, `IsDeleted` = @p956, `Name` = @p957, `SourceId` = @p958
WHERE `Id` = @p959;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p960, `IsActive` = @p961, `IsDeleted` = @p962, `Name` = @p963, `SourceId` = @p964
WHERE `Id` = @p965;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p966, `IsActive` = @p967, `IsDeleted` = @p968, `Name` = @p969, `SourceId` = @p970
WHERE `Id` = @p971;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p972, `IsActive` = @p973, `IsDeleted` = @p974, `Name` = @p975, `SourceId` = @p976
WHERE `Id` = @p977;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p978, `IsActive` = @p979, `IsDeleted` = @p980, `Name` = @p981, `SourceId` = @p982
WHERE `Id` = @p983;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p984, `IsActive` = @p985, `IsDeleted` = @p986, `Name` = @p987, `SourceId` = @p988
WHERE `Id` = @p989;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p990, `IsActive` = @p991, `IsDeleted` = @p992, `Name` = @p993, `SourceId` = @p994
WHERE `Id` = @p995;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p996, `IsActive` = @p997, `IsDeleted` = @p998, `Name` = @p999, `SourceId` = @p1000
WHERE `Id` = @p1001;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1002, `IsActive` = @p1003, `IsDeleted` = @p1004, `Name` = @p1005, `SourceId` = @p1006
WHERE `Id` = @p1007;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1008, `IsActive` = @p1009, `IsDeleted` = @p1010, `Name` = @p1011, `SourceId` = @p1012
WHERE `Id` = @p1013;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1014, `IsActive` = @p1015, `IsDeleted` = @p1016, `Name` = @p1017, `SourceId` = @p1018
WHERE `Id` = @p1019;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1020, `IsActive` = @p1021, `IsDeleted` = @p1022, `Name` = @p1023, `SourceId` = @p1024
WHERE `Id` = @p1025;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1026, `IsActive` = @p1027, `IsDeleted` = @p1028, `Name` = @p1029, `SourceId` = @p1030
WHERE `Id` = @p1031;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1032, `IsActive` = @p1033, `IsDeleted` = @p1034, `Name` = @p1035, `SourceId` = @p1036
WHERE `Id` = @p1037;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1038, `IsActive` = @p1039, `IsDeleted` = @p1040, `Name` = @p1041, `SourceId` = @p1042
WHERE `Id` = @p1043;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1044, `IsActive` = @p1045, `IsDeleted` = @p1046, `Name` = @p1047, `SourceId` = @p1048
WHERE `Id` = @p1049;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1050, `IsActive` = @p1051, `IsDeleted` = @p1052, `Name` = @p1053, `SourceId` = @p1054
WHERE `Id` = @p1055;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1056, `IsActive` = @p1057, `IsDeleted` = @p1058, `Name` = @p1059, `SourceId` = @p1060
WHERE `Id` = @p1061;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1062, `IsActive` = @p1063, `IsDeleted` = @p1064, `Name` = @p1065, `SourceId` = @p1066
WHERE `Id` = @p1067;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1068, `IsActive` = @p1069, `IsDeleted` = @p1070, `Name` = @p1071, `SourceId` = @p1072
WHERE `Id` = @p1073;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1074, `IsActive` = @p1075, `IsDeleted` = @p1076, `Name` = @p1077, `SourceId` = @p1078
WHERE `Id` = @p1079;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1080, `IsActive` = @p1081, `IsDeleted` = @p1082, `Name` = @p1083, `SourceId` = @p1084
WHERE `Id` = @p1085;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1086, `IsActive` = @p1087, `IsDeleted` = @p1088, `Name` = @p1089, `SourceId` = @p1090
WHERE `Id` = @p1091;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1092, `IsActive` = @p1093, `IsDeleted` = @p1094, `Name` = @p1095, `SourceId` = @p1096
WHERE `Id` = @p1097;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1098, `IsActive` = @p1099, `IsDeleted` = @p1100, `Name` = @p1101, `SourceId` = @p1102
WHERE `Id` = @p1103;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1104, `IsActive` = @p1105, `IsDeleted` = @p1106, `Name` = @p1107, `SourceId` = @p1108
WHERE `Id` = @p1109;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1110, `IsActive` = @p1111, `IsDeleted` = @p1112, `Name` = @p1113, `SourceId` = @p1114
WHERE `Id` = @p1115;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1116, `IsActive` = @p1117, `IsDeleted` = @p1118, `Name` = @p1119, `SourceId` = @p1120
WHERE `Id` = @p1121;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1122, `IsActive` = @p1123, `IsDeleted` = @p1124, `Name` = @p1125, `SourceId` = @p1126
WHERE `Id` = @p1127;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1128, `IsActive` = @p1129, `IsDeleted` = @p1130, `Name` = @p1131, `SourceId` = @p1132
WHERE `Id` = @p1133;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1134, `IsActive` = @p1135, `IsDeleted` = @p1136, `Name` = @p1137, `SourceId` = @p1138
WHERE `Id` = @p1139;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1140, `IsActive` = @p1141, `IsDeleted` = @p1142, `Name` = @p1143, `SourceId` = @p1144
WHERE `Id` = @p1145;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1146, `IsActive` = @p1147, `IsDeleted` = @p1148, `Name` = @p1149, `SourceId` = @p1150
WHERE `Id` = @p1151;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1152, `IsActive` = @p1153, `IsDeleted` = @p1154, `Name` = @p1155, `SourceId` = @p1156
WHERE `Id` = @p1157;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1158, `IsActive` = @p1159, `IsDeleted` = @p1160, `Name` = @p1161, `SourceId` = @p1162
WHERE `Id` = @p1163;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1164, `IsActive` = @p1165, `IsDeleted` = @p1166, `Name` = @p1167, `SourceId` = @p1168
WHERE `Id` = @p1169;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1170, `IsActive` = @p1171, `IsDeleted` = @p1172, `Name` = @p1173, `SourceId` = @p1174
WHERE `Id` = @p1175;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1176, `IsActive` = @p1177, `IsDeleted` = @p1178, `Name` = @p1179, `SourceId` = @p1180
WHERE `Id` = @p1181;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1182, `IsActive` = @p1183, `IsDeleted` = @p1184, `Name` = @p1185, `SourceId` = @p1186
WHERE `Id` = @p1187;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1188, `IsActive` = @p1189, `IsDeleted` = @p1190, `Name` = @p1191, `SourceId` = @p1192
WHERE `Id` = @p1193;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1194, `IsActive` = @p1195, `IsDeleted` = @p1196, `Name` = @p1197, `SourceId` = @p1198
WHERE `Id` = @p1199;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1200, `IsActive` = @p1201, `IsDeleted` = @p1202, `Name` = @p1203, `SourceId` = @p1204
WHERE `Id` = @p1205;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1206, `IsActive` = @p1207, `IsDeleted` = @p1208, `Name` = @p1209, `SourceId` = @p1210
WHERE `Id` = @p1211;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1212, `IsActive` = @p1213, `IsDeleted` = @p1214, `Name` = @p1215, `SourceId` = @p1216
WHERE `Id` = @p1217;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1218, `IsActive` = @p1219, `IsDeleted` = @p1220, `Name` = @p1221, `SourceId` = @p1222
WHERE `Id` = @p1223;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1224, `IsActive` = @p1225, `IsDeleted` = @p1226, `Name` = @p1227, `SourceId` = @p1228
WHERE `Id` = @p1229;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1230, `IsActive` = @p1231, `IsDeleted` = @p1232, `Name` = @p1233, `SourceId` = @p1234
WHERE `Id` = @p1235;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1236, `IsActive` = @p1237, `IsDeleted` = @p1238, `Name` = @p1239, `SourceId` = @p1240
WHERE `Id` = @p1241;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1242, `IsActive` = @p1243, `IsDeleted` = @p1244, `Name` = @p1245, `SourceId` = @p1246
WHERE `Id` = @p1247;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1248, `IsActive` = @p1249, `IsDeleted` = @p1250, `Name` = @p1251, `SourceId` = @p1252
WHERE `Id` = @p1253;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1254, `IsActive` = @p1255, `IsDeleted` = @p1256, `Name` = @p1257, `SourceId` = @p1258
WHERE `Id` = @p1259;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1260, `IsActive` = @p1261, `IsDeleted` = @p1262, `Name` = @p1263, `SourceId` = @p1264
WHERE `Id` = @p1265;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1266, `IsActive` = @p1267, `IsDeleted` = @p1268, `Name` = @p1269, `SourceId` = @p1270
WHERE `Id` = @p1271;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1272, `IsActive` = @p1273, `IsDeleted` = @p1274, `Name` = @p1275, `SourceId` = @p1276
WHERE `Id` = @p1277;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1278, `IsActive` = @p1279, `IsDeleted` = @p1280, `Name` = @p1281, `SourceId` = @p1282
WHERE `Id` = @p1283;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1284, `IsActive` = @p1285, `IsDeleted` = @p1286, `Name` = @p1287, `SourceId` = @p1288
WHERE `Id` = @p1289;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1290, `IsActive` = @p1291, `IsDeleted` = @p1292, `Name` = @p1293, `SourceId` = @p1294
WHERE `Id` = @p1295;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1296, `IsActive` = @p1297, `IsDeleted` = @p1298, `Name` = @p1299, `SourceId` = @p1300
WHERE `Id` = @p1301;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1302, `IsActive` = @p1303, `IsDeleted` = @p1304, `Name` = @p1305, `SourceId` = @p1306
WHERE `Id` = @p1307;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1308, `IsActive` = @p1309, `IsDeleted` = @p1310, `Name` = @p1311, `SourceId` = @p1312
WHERE `Id` = @p1313;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1314, `IsActive` = @p1315, `IsDeleted` = @p1316, `Name` = @p1317, `SourceId` = @p1318
WHERE `Id` = @p1319;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1320, `IsActive` = @p1321, `IsDeleted` = @p1322, `Name` = @p1323, `SourceId` = @p1324
WHERE `Id` = @p1325;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1326, `IsActive` = @p1327, `IsDeleted` = @p1328, `Name` = @p1329, `SourceId` = @p1330
WHERE `Id` = @p1331;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1332, `IsActive` = @p1333, `IsDeleted` = @p1334, `Name` = @p1335, `SourceId` = @p1336
WHERE `Id` = @p1337;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1338, `IsActive` = @p1339, `IsDeleted` = @p1340, `Name` = @p1341, `SourceId` = @p1342
WHERE `Id` = @p1343;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1344, `IsActive` = @p1345, `IsDeleted` = @p1346, `Name` = @p1347, `SourceId` = @p1348
WHERE `Id` = @p1349;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1350, `IsActive` = @p1351, `IsDeleted` = @p1352, `Name` = @p1353, `SourceId` = @p1354
WHERE `Id` = @p1355;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1356, `IsActive` = @p1357, `IsDeleted` = @p1358, `Name` = @p1359, `SourceId` = @p1360
WHERE `Id` = @p1361;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1362, `IsActive` = @p1363, `IsDeleted` = @p1364, `Name` = @p1365, `SourceId` = @p1366
WHERE `Id` = @p1367;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1368, `IsActive` = @p1369, `IsDeleted` = @p1370, `Name` = @p1371, `SourceId` = @p1372
WHERE `Id` = @p1373;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1374, `IsActive` = @p1375, `IsDeleted` = @p1376, `Name` = @p1377, `SourceId` = @p1378
WHERE `Id` = @p1379;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1380, `IsActive` = @p1381, `IsDeleted` = @p1382, `Name` = @p1383, `SourceId` = @p1384
WHERE `Id` = @p1385;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1386, `IsActive` = @p1387, `IsDeleted` = @p1388, `Name` = @p1389, `SourceId` = @p1390
WHERE `Id` = @p1391;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1392, `IsActive` = @p1393, `IsDeleted` = @p1394, `Name` = @p1395, `SourceId` = @p1396
WHERE `Id` = @p1397;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1398, `IsActive` = @p1399, `IsDeleted` = @p1400, `Name` = @p1401, `SourceId` = @p1402
WHERE `Id` = @p1403;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1404, `IsActive` = @p1405, `IsDeleted` = @p1406, `Name` = @p1407, `SourceId` = @p1408
WHERE `Id` = @p1409;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1410, `IsActive` = @p1411, `IsDeleted` = @p1412, `Name` = @p1413, `SourceId` = @p1414
WHERE `Id` = @p1415;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1416, `IsActive` = @p1417, `IsDeleted` = @p1418, `Name` = @p1419, `SourceId` = @p1420
WHERE `Id` = @p1421;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1422, `IsActive` = @p1423, `IsDeleted` = @p1424, `Name` = @p1425, `SourceId` = @p1426
WHERE `Id` = @p1427;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1428, `IsActive` = @p1429, `IsDeleted` = @p1430, `Name` = @p1431, `SourceId` = @p1432
WHERE `Id` = @p1433;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1434, `IsActive` = @p1435, `IsDeleted` = @p1436, `Name` = @p1437, `SourceId` = @p1438
WHERE `Id` = @p1439;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1440, `IsActive` = @p1441, `IsDeleted` = @p1442, `Name` = @p1443, `SourceId` = @p1444
WHERE `Id` = @p1445;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1446, `IsActive` = @p1447, `IsDeleted` = @p1448, `Name` = @p1449, `SourceId` = @p1450
WHERE `Id` = @p1451;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1452, `IsActive` = @p1453, `IsDeleted` = @p1454, `Name` = @p1455, `SourceId` = @p1456
WHERE `Id` = @p1457;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1458, `IsActive` = @p1459, `IsDeleted` = @p1460, `Name` = @p1461, `SourceId` = @p1462
WHERE `Id` = @p1463;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1464, `IsActive` = @p1465, `IsDeleted` = @p1466, `Name` = @p1467, `SourceId` = @p1468
WHERE `Id` = @p1469;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1470, `IsActive` = @p1471, `IsDeleted` = @p1472, `Name` = @p1473, `SourceId` = @p1474
WHERE `Id` = @p1475;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1476, `IsActive` = @p1477, `IsDeleted` = @p1478, `Name` = @p1479, `SourceId` = @p1480
WHERE `Id` = @p1481;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1482, `IsActive` = @p1483, `IsDeleted` = @p1484, `Name` = @p1485, `SourceId` = @p1486
WHERE `Id` = @p1487;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1488, `IsActive` = @p1489, `IsDeleted` = @p1490, `Name` = @p1491, `SourceId` = @p1492
WHERE `Id` = @p1493;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1494, `IsActive` = @p1495, `IsDeleted` = @p1496, `Name` = @p1497, `SourceId` = @p1498
WHERE `Id` = @p1499;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1500, `IsActive` = @p1501, `IsDeleted` = @p1502, `Name` = @p1503, `SourceId` = @p1504
WHERE `Id` = @p1505;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1506, `IsActive` = @p1507, `IsDeleted` = @p1508, `Name` = @p1509, `SourceId` = @p1510
WHERE `Id` = @p1511;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1512, `IsActive` = @p1513, `IsDeleted` = @p1514, `Name` = @p1515, `SourceId` = @p1516
WHERE `Id` = @p1517;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1518, `IsActive` = @p1519, `IsDeleted` = @p1520, `Name` = @p1521, `SourceId` = @p1522
WHERE `Id` = @p1523;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1524, `IsActive` = @p1525, `IsDeleted` = @p1526, `Name` = @p1527, `SourceId` = @p1528
WHERE `Id` = @p1529;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1530, `IsActive` = @p1531, `IsDeleted` = @p1532, `Name` = @p1533, `SourceId` = @p1534
WHERE `Id` = @p1535;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1536, `IsActive` = @p1537, `IsDeleted` = @p1538, `Name` = @p1539, `SourceId` = @p1540
WHERE `Id` = @p1541;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1542, `IsActive` = @p1543, `IsDeleted` = @p1544, `Name` = @p1545, `SourceId` = @p1546
WHERE `Id` = @p1547;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1548, `IsActive` = @p1549, `IsDeleted` = @p1550, `Name` = @p1551, `SourceId` = @p1552
WHERE `Id` = @p1553;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1554, `IsActive` = @p1555, `IsDeleted` = @p1556, `Name` = @p1557, `SourceId` = @p1558
WHERE `Id` = @p1559;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1560, `IsActive` = @p1561, `IsDeleted` = @p1562, `Name` = @p1563, `SourceId` = @p1564
WHERE `Id` = @p1565;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1566, `IsActive` = @p1567, `IsDeleted` = @p1568, `Name` = @p1569, `SourceId` = @p1570
WHERE `Id` = @p1571;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1572, `IsActive` = @p1573, `IsDeleted` = @p1574, `Name` = @p1575, `SourceId` = @p1576
WHERE `Id` = @p1577;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1578, `IsActive` = @p1579, `IsDeleted` = @p1580, `Name` = @p1581, `SourceId` = @p1582
WHERE `Id` = @p1583;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1584, `IsActive` = @p1585, `IsDeleted` = @p1586, `Name` = @p1587, `SourceId` = @p1588
WHERE `Id` = @p1589;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1590, `IsActive` = @p1591, `IsDeleted` = @p1592, `Name` = @p1593, `SourceId` = @p1594
WHERE `Id` = @p1595;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1596, `IsActive` = @p1597, `IsDeleted` = @p1598, `Name` = @p1599, `SourceId` = @p1600
WHERE `Id` = @p1601;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1602, `IsActive` = @p1603, `IsDeleted` = @p1604, `Name` = @p1605, `SourceId` = @p1606
WHERE `Id` = @p1607;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1608, `IsActive` = @p1609, `IsDeleted` = @p1610, `Name` = @p1611, `SourceId` = @p1612
WHERE `Id` = @p1613;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1614, `IsActive` = @p1615, `IsDeleted` = @p1616, `Name` = @p1617, `SourceId` = @p1618
WHERE `Id` = @p1619;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1620, `IsActive` = @p1621, `IsDeleted` = @p1622, `Name` = @p1623, `SourceId` = @p1624
WHERE `Id` = @p1625;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1626, `IsActive` = @p1627, `IsDeleted` = @p1628, `Name` = @p1629, `SourceId` = @p1630
WHERE `Id` = @p1631;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1632, `IsActive` = @p1633, `IsDeleted` = @p1634, `Name` = @p1635, `SourceId` = @p1636
WHERE `Id` = @p1637;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1638, `IsActive` = @p1639, `IsDeleted` = @p1640, `Name` = @p1641, `SourceId` = @p1642
WHERE `Id` = @p1643;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1644, `IsActive` = @p1645, `IsDeleted` = @p1646, `Name` = @p1647, `SourceId` = @p1648
WHERE `Id` = @p1649;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1650, `IsActive` = @p1651, `IsDeleted` = @p1652, `Name` = @p1653, `SourceId` = @p1654
WHERE `Id` = @p1655;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1656, `IsActive` = @p1657, `IsDeleted` = @p1658, `Name` = @p1659, `SourceId` = @p1660
WHERE `Id` = @p1661;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1662, `IsActive` = @p1663, `IsDeleted` = @p1664, `Name` = @p1665, `SourceId` = @p1666
WHERE `Id` = @p1667;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1668, `IsActive` = @p1669, `IsDeleted` = @p1670, `Name` = @p1671, `SourceId` = @p1672
WHERE `Id` = @p1673;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1674, `IsActive` = @p1675, `IsDeleted` = @p1676, `Name` = @p1677, `SourceId` = @p1678
WHERE `Id` = @p1679;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1680, `IsActive` = @p1681, `IsDeleted` = @p1682, `Name` = @p1683, `SourceId` = @p1684
WHERE `Id` = @p1685;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1686, `IsActive` = @p1687, `IsDeleted` = @p1688, `Name` = @p1689, `SourceId` = @p1690
WHERE `Id` = @p1691;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1692, `IsActive` = @p1693, `IsDeleted` = @p1694, `Name` = @p1695, `SourceId` = @p1696
WHERE `Id` = @p1697;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1698, `IsActive` = @p1699, `IsDeleted` = @p1700, `Name` = @p1701, `SourceId` = @p1702
WHERE `Id` = @p1703;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1704, `IsActive` = @p1705, `IsDeleted` = @p1706, `Name` = @p1707, `SourceId` = @p1708
WHERE `Id` = @p1709;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1710, `IsActive` = @p1711, `IsDeleted` = @p1712, `Name` = @p1713, `SourceId` = @p1714
WHERE `Id` = @p1715;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1716, `IsActive` = @p1717, `IsDeleted` = @p1718, `Name` = @p1719, `SourceId` = @p1720
WHERE `Id` = @p1721;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1722, `IsActive` = @p1723, `IsDeleted` = @p1724, `Name` = @p1725, `SourceId` = @p1726
WHERE `Id` = @p1727;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1728, `IsActive` = @p1729, `IsDeleted` = @p1730, `Name` = @p1731, `SourceId` = @p1732
WHERE `Id` = @p1733;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1734, `IsActive` = @p1735, `IsDeleted` = @p1736, `Name` = @p1737, `SourceId` = @p1738
WHERE `Id` = @p1739;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1740, `IsActive` = @p1741, `IsDeleted` = @p1742, `Name` = @p1743, `SourceId` = @p1744
WHERE `Id` = @p1745;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1746, `IsActive` = @p1747, `IsDeleted` = @p1748, `Name` = @p1749, `SourceId` = @p1750
WHERE `Id` = @p1751;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1752, `IsActive` = @p1753, `IsDeleted` = @p1754, `Name` = @p1755, `SourceId` = @p1756
WHERE `Id` = @p1757;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1758, `IsActive` = @p1759, `IsDeleted` = @p1760, `Name` = @p1761, `SourceId` = @p1762
WHERE `Id` = @p1763;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1764, `IsActive` = @p1765, `IsDeleted` = @p1766, `Name` = @p1767, `SourceId` = @p1768
WHERE `Id` = @p1769;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1770, `IsActive` = @p1771, `IsDeleted` = @p1772, `Name` = @p1773, `SourceId` = @p1774
WHERE `Id` = @p1775;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p1776, `IsActive` = @p1777, `IsDeleted` = @p1778, `Name` = @p1779, `SourceId` = @p1780
WHERE `Id` = @p1781;
SELECT ROW_COUNT();
INFO  2025-04-03 15:55:07,598 [42   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:07,600 [42   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 240944.7553ms
INFO  2025-04-03 15:55:07,601 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:55:07,604 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 15:55:07,606 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 240963.6124ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:55:07,607 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:07,610 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0902ms 204 
INFO  2025-04-03 15:55:07,612 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 15:55:07,614 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:07,617 [53   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:55:07,619 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:55:07,627 [53   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 15:55:07,707 [41   ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 15:55:07,710 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:07,712 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 83.284ms
INFO  2025-04-03 15:55:07,715 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:55:07,717 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 105.7054ms 500 application/json; charset=utf-8
INFO  2025-04-03 15:55:25,125 [54   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:55:25,127 [54   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:25,129 [54   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2661ms 204 
INFO  2025-04-03 15:55:25,130 [54   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:55:25,132 [54   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:25,133 [54   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:55:25,135 [54   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:25,140 [54   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:55:25,202 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:25,205 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 62.2576ms
INFO  2025-04-03 15:55:25,206 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:25,208 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.6684ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:55:45,123 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:55:45,125 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:45,127 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.2223ms 204 
INFO  2025-04-03 15:55:45,131 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:55:45,133 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:55:45,135 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:55:45,137 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:45,142 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:55:45,202 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:55:45,205 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 60.4492ms
INFO  2025-04-03 15:55:45,206 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:55:45,207 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 76.4669ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:56:05,130 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:56:05,133 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:56:05,135 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.3302ms 204 
INFO  2025-04-03 15:56:05,136 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:56:05,138 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:56:05,141 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:56:05,143 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:56:05,147 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:56:05,216 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:56:05,218 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.1439ms
INFO  2025-04-03 15:56:05,220 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:56:05,222 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.703ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:56:46,132 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:56:46,135 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:56:46,139 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.3574ms 204 
INFO  2025-04-03 15:56:46,145 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:56:46,147 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:56:46,149 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:56:46,152 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:56:46,157 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:56:46,219 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:56:46,221 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.7532ms
INFO  2025-04-03 15:56:46,222 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:56:46,224 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.9524ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:57:46,132 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:57:46,134 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:57:46,158 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.422ms 204 
INFO  2025-04-03 15:57:46,163 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:57:46,394 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:57:46,395 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:57:46,397 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:57:46,401 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:57:46,482 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:57:46,484 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 80.9997ms
INFO  2025-04-03 15:57:46,486 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:57:46,488 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 325.4363ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:05,105 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:58:05,108 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:05,151 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3416ms 204 
INFO  2025-04-03 15:58:05,161 [56   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:58:05,164 [56   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:05,167 [56   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:05,169 [56   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:05,173 [56   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:58:05,244 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:05,246 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.9564ms
INFO  2025-04-03 15:58:05,248 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:05,250 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.2962ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:06,958 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 15:58:06,960 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:06,963 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0644ms 204 
INFO  2025-04-03 15:58:06,965 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:58:06,968 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:06,972 [53   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:06,974 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:06,980 [53   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:58:06,986 [53   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:58:07,012 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:58:07,023 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:58:07,063 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:07,065 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 83.4595ms
INFO  2025-04-03 15:58:07,082 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:07,091 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 119.2248ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:09,582 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList  
INFO  2025-04-03 15:58:09,612 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:09,614 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 31.7807ms 204 
INFO  2025-04-03 15:58:09,617 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/QuestionType/GetQuestionTypeList application/json 
INFO  2025-04-03 15:58:09,629 [52   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:09,633 [52   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:09,638 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:09,642 [52   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetQuestionTypeList", controller = "QuestionType"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[YGNT.QuestionLibrary.QuestionTypes.Dto.QuestionTypeDto]] GetQuestionTypeListAsync() on controller YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:58:09,646 [52   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:58:09,678 [47   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `q`.`Id`, `q`.`IsStruct`, `q`.`Name`, `q`.`QuestionCategory`, `q`.`Sort`
FROM `QuestionTypes` AS `q`
ORDER BY `q`.`Sort`, `q`.`Name`
INFO  2025-04-03 15:58:09,724 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:09,726 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application) in 82.1127ms
INFO  2025-04-03 15:58:09,729 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.QuestionTypes.QuestionTypeAppService.GetQuestionTypeListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:09,731 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 114.4986ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:10,461 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 15:58:10,463 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:10,465 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:10,467 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:10,472 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:58:10,477 [48   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:58:10,512 [57   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 15:58:10,529 [36   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 15:58:10,559 [36   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:10,561 [36   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 87.7429ms
INFO  2025-04-03 15:58:10,563 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:58:10,565 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 104.6755ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:25,137 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:58:25,139 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:25,142 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0784ms 204 
INFO  2025-04-03 15:58:25,143 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:58:25,146 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:25,151 [53   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:25,154 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:25,159 [53   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:58:25,234 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:25,236 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.9774ms
INFO  2025-04-03 15:58:25,238 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:25,240 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.4461ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:58:45,132 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:58:45,134 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:45,160 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.178ms 204 
INFO  2025-04-03 15:58:45,163 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:58:45,166 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:58:45,169 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:58:45,171 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:45,175 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:58:45,251 [13   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:58:45,253 [13   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.4172ms
INFO  2025-04-03 15:58:45,254 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:58:45,256 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.9038ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:59:05,125 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:59:05,127 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:05,152 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8245ms 204 
INFO  2025-04-03 15:59:05,158 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:59:05,159 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:05,161 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:59:05,162 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:05,167 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:59:05,236 [13   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:59:05,238 [13   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.1966ms
INFO  2025-04-03 15:59:05,239 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:05,241 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.8524ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:59:25,123 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:59:25,125 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:25,126 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8602ms 204 
INFO  2025-04-03 15:59:25,131 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:59:25,134 [52   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:25,137 [52   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:59:25,138 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:25,169 [52   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:59:25,238 [13   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:59:25,240 [13   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.2665ms
INFO  2025-04-03 15:59:25,241 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:25,243 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 112.4065ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:59:40,381 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 15:59:40,383 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:40,385 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.64ms 204 
INFO  2025-04-03 15:59:40,390 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 15:59:40,394 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:40,396 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:59:40,398 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 15:59:40,403 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 15:59:45,218 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 15:59:45,219 [52   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:45,221 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8236ms 204 
INFO  2025-04-03 15:59:45,234 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 15:59:45,236 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 15:59:45,238 [44   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 15:59:45,240 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 15:59:45,242 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:45,246 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 15:59:45,267 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 15:59:45,339 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 15:59:45,351 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 15:59:45,353 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 105.1522ms
INFO  2025-04-03 15:59:45,355 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 15:59:45,357 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 123.039ms 200 application/json; charset=utf-8
INFO  2025-04-03 15:59:45,378 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,386 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,396 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,406 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,416 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,427 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,438 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,445 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,456 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,467 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,475 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,486 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,497 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,504 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,515 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,526 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,535 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,544 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,554 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,561 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,571 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,579 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,585 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,594 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,605 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,613 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,622 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,632 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,639 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,648 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,657 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,664 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,713 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,724 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,731 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,742 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,751 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,757 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,766 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,777 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,784 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,792 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,801 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,808 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,817 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,828 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,835 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,844 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,853 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,859 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,869 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,878 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,885 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,895 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,905 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,912 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,925 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,937 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,944 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,954 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,964 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,971 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:45,979 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:45,990 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:45,997 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,006 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,018 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,024 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,033 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,047 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,054 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,063 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,086 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,093 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,102 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,111 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,118 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,128 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,139 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,147 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,157 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,170 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,177 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,187 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,199 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,206 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,218 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,232 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,243 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,254 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,265 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,272 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,280 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,289 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,295 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,303 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,311 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,317 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,325 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,334 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,341 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,355 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,364 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,369 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,377 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,386 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,392 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,407 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,417 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,423 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,430 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,439 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,444 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,452 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,459 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,466 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,473 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,482 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,487 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,495 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,504 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,512 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,520 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,530 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,536 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,545 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,554 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,560 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,570 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,581 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,592 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,600 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,610 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,616 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,624 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,632 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,638 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,645 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,655 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,660 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,669 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,677 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,684 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,691 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,700 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,705 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,714 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,723 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,729 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,740 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,754 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,759 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,767 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,776 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,781 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,789 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,798 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,803 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,811 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,822 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,827 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,835 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,845 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,851 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,859 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,867 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,873 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,881 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,889 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,895 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,906 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,915 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,920 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,927 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,937 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,948 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,957 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,968 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,973 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:46,981 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:46,991 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:46,999 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,007 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,015 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,021 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,029 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,040 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,048 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,056 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,065 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,072 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,083 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,092 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,098 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,106 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,115 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,122 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,130 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,139 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,144 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,152 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,162 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,167 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,175 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,186 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,191 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,199 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,207 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,212 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,221 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,229 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,236 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,243 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,254 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,264 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,272 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,283 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,293 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,302 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,311 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,318 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,327 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,337 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,344 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,355 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,365 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,373 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,382 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,392 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,399 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,408 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,419 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,427 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,437 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,448 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,455 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,465 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,475 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,483 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,493 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,505 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,513 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,522 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,531 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,537 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,549 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,560 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,566 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,576 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,591 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,599 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,616 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,625 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,632 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,642 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,651 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,659 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,668 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,678 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,686 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,697 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,709 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,716 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,727 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,737 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,743 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,754 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,765 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,771 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,780 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,792 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,799 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,808 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,818 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,824 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,835 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,846 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,852 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,861 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,874 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,882 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,892 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,902 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,909 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,918 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,928 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,936 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,945 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,956 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,964 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:47,975 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:47,986 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:47,994 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,003 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,013 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,020 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,030 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,041 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,056 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,075 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,084 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,095 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,105 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,116 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,123 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,133 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,144 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,151 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,162 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,175 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,181 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,197 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,209 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,218 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,229 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,241 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,249 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,259 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,271 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,279 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,288 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,301 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,309 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,320 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,330 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,337 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,349 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,359 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,367 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,379 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,389 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,396 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,406 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,419 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,426 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,437 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,450 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,458 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,468 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,478 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,486 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,496 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,506 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,513 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,522 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,534 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,541 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,552 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,562 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,571 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,583 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,595 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,602 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,612 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,622 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,628 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,638 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,651 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,658 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,667 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,677 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,684 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,697 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,708 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,715 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,728 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,739 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,746 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,758 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,768 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,775 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,785 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,796 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,803 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,817 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,828 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,841 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,851 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,864 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,872 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,883 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,896 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,903 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,915 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,926 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,934 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,944 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,956 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,962 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:48,973 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:48,984 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:48,990 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,000 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,010 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,018 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,039 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,055 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,062 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,073 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,084 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,093 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,104 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,117 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,127 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,136 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,148 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,155 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,167 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,179 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,186 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,199 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,211 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,219 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,229 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,240 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,247 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,260 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,272 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,284 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,294 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,305 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,312 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,325 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,336 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,344 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,354 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,365 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,371 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,383 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,396 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,404 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,415 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,427 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,434 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,445 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,457 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,463 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,474 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,486 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,493 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,503 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,515 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,522 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,534 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,547 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,554 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,564 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,576 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,583 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,595 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,606 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,614 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,625 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,638 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,646 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,656 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,669 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,675 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,685 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,697 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,702 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,714 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,726 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,734 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,747 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,758 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,764 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,775 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,786 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,792 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,803 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,816 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,822 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,835 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,847 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,855 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,865 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,879 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,885 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,898 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,910 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,919 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,929 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,942 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,950 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,961 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:49,974 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:49,983 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:49,994 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,008 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,016 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,028 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,040 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,047 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,062 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,074 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,081 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,091 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,103 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,110 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,121 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,133 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,141 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,151 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,162 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,170 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,185 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,202 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,209 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,219 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,231 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,237 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,254 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,266 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,274 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,288 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,302 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,312 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,323 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,334 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,341 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,352 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,364 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,372 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,383 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,395 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,406 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,417 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,433 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,441 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,452 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,464 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,473 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,485 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,497 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,503 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,513 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,527 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,534 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,544 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,557 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,564 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,574 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,585 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,594 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,605 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,616 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,624 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,635 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,647 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,654 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,664 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,677 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,686 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,702 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,714 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,721 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,737 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,749 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,756 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,767 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,779 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,787 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,800 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,814 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,821 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,833 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,846 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,855 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,865 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,878 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,886 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,896 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,909 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,917 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,928 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,941 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,947 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,959 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:50,973 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:50,979 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:50,992 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,004 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,011 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,021 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,033 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,040 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,053 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,064 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,072 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,084 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,095 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,102 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,113 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,125 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,133 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,145 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,156 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,163 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,174 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,187 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,193 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,204 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,215 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,221 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,231 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,243 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,251 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,262 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,274 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,280 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,292 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,304 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,310 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,321 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,333 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,341 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,357 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,370 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,377 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,388 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,401 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,409 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,421 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,433 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,439 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,450 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,462 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,471 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,483 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,498 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,504 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,518 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,530 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,537 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,548 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,562 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,569 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,580 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,592 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,602 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,615 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,629 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,637 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,649 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,659 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,665 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,675 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,688 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,695 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,707 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,720 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,728 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,739 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,751 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,758 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,768 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,783 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,790 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,802 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,818 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,826 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,837 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,850 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,858 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,870 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,884 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,892 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,904 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,917 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,925 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,939 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,952 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,961 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:51,972 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:51,983 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:51,991 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,003 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,015 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,022 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,033 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,048 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,054 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,066 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,080 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,088 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,101 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,117 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,125 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,139 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,151 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,158 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,169 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,182 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,188 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,199 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,214 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,222 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,236 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,249 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,255 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,266 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,280 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,288 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,300 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,319 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,326 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,338 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,352 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,360 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,373 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,390 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,404 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,418 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,434 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,441 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,458 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,473 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,481 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,494 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,506 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,513 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,525 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,538 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,546 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,557 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,568 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,576 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,587 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,600 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,607 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,620 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,638 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,654 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,683 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,695 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,705 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,719 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,732 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,738 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,749 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,763 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,770 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,782 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,796 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,803 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,816 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,830 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,837 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,851 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,864 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,874 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,888 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,902 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,910 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,924 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,937 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,945 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,957 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:52,977 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:52,984 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:52,996 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,009 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,017 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,029 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,042 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,050 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,062 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,075 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,081 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,092 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,105 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,112 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,124 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,139 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,145 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,157 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,171 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,177 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,189 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,204 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,218 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,229 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,246 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,252 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,265 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,278 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,285 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,298 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,313 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,321 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,333 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,348 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,356 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,367 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,382 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,389 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,403 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,424 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,436 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,448 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,462 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,469 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,482 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,495 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,505 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,517 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,532 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,539 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,551 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,565 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,573 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,586 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,603 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,613 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,626 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,639 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,646 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,658 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,672 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,678 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,691 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,705 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,712 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,724 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,736 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,743 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,755 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,768 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,775 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,787 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,800 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,807 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,819 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,835 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,843 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,857 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,871 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,878 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,900 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,914 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,920 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,937 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,950 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,956 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:53,968 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:53,981 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:53,989 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,001 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,017 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,027 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,041 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,055 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,061 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,073 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,087 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,094 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,107 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,125 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,132 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,144 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,159 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,167 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,180 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,194 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,202 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,222 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,251 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,257 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,271 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,285 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,290 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,304 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,318 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,326 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,339 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,353 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,364 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,381 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,399 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,411 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,424 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,439 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,450 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,462 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,476 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,484 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,497 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,511 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,525 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,539 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,554 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,561 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,576 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,589 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,598 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,611 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,624 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,633 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,647 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,661 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,668 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,680 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,693 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,704 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,718 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,732 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,739 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,750 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,764 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,782 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,794 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,807 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,812 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,825 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,838 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,846 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,860 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,874 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,882 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,894 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,907 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,917 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,932 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,946 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,956 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:54,971 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:54,986 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:54,994 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,006 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,021 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,029 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,041 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,055 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,064 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,078 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,093 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,101 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,116 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,132 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,138 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,150 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,165 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,172 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,186 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,201 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,210 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,224 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,240 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,250 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,264 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,278 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,286 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,297 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,312 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,318 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,330 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,345 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,352 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,366 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,388 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,395 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,406 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,420 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,426 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,439 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,455 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,463 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,476 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,490 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,500 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,513 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,528 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,535 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,550 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,563 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,572 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,585 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,599 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,605 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,619 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,633 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,641 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,654 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,669 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,675 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,694 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,709 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,720 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,733 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,748 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,756 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,768 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,782 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,789 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,805 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,820 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,829 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,843 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,858 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,865 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,877 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,892 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,899 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,913 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,929 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,936 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,948 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,963 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:55,970 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:55,982 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:55,998 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,007 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,022 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,036 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,043 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,056 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,071 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,080 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,093 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,106 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,113 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,126 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,144 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,152 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,166 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,184 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,191 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,204 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,218 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,224 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,238 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,251 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,258 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,271 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,287 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,294 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,306 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,321 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,328 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,345 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,358 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,370 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,383 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,398 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,404 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,417 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,435 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,441 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,454 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,467 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,474 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,486 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,500 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,506 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,518 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,533 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,541 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,554 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,567 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,573 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,586 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,600 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,608 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,625 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,650 [52   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,658 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,680 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,697 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,704 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,722 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,735 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,741 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,754 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,767 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,773 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,786 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,800 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,807 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,819 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,831 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,838 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,850 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,863 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,869 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,882 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,902 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,908 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,920 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,934 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,939 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,952 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:56,966 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:56,973 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:56,986 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,000 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,006 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,019 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,033 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,038 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,051 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,066 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,072 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,085 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,098 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,103 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,116 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,130 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,141 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,153 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,170 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,175 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,187 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,201 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,209 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,223 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,237 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,243 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,255 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,270 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,275 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,287 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,300 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,307 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,319 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,333 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,340 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,355 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,370 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,376 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,399 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,418 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,425 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,438 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,453 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,460 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,474 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,488 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,497 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,511 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,524 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,532 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,551 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,566 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,574 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,590 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,609 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,624 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,643 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,659 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,670 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,685 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,702 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,709 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,728 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,744 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,752 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,789 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,797 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,813 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,827 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,834 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,851 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,869 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,876 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,890 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,906 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,913 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,926 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,940 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,947 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,960 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:57,975 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:57,981 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:57,996 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,010 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,020 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,035 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,050 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,056 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,069 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,085 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,092 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,110 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,124 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,134 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,149 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,166 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,175 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,188 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,204 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,210 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,226 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,242 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,252 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,267 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,284 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,290 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,304 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,319 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,328 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,342 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,357 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,364 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,378 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,393 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,399 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,414 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,428 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,440 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,453 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,468 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,475 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,491 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,505 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,511 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,525 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,545 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,552 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,567 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,582 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,588 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,602 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,616 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,621 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,636 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,651 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,658 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,671 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,686 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,692 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,704 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,718 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,726 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,739 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,754 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,761 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,776 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,790 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,797 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,810 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,825 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,831 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,848 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,865 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,871 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,894 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,912 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,920 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,939 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,956 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:58,963 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:58,979 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:58,994 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,000 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,015 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,029 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,035 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,051 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,068 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,073 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,088 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,104 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,111 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,125 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,140 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,150 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,164 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,179 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,185 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,199 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,213 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,219 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,233 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,248 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,259 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,272 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,287 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,294 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,309 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,324 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,331 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,345 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,359 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,366 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,381 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,395 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,401 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,414 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,427 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,437 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,451 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,468 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,475 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,488 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,503 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,510 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,525 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,540 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,548 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,564 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,580 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,587 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,602 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,616 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,622 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,636 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,651 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,658 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,673 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,688 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,694 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,710 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,728 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,734 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,749 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,765 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,787 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,806 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,813 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,827 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,842 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,848 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,863 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,879 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,884 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,898 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,913 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,919 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,934 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,950 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,956 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 15:59:59,970 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 15:59:59,985 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 15:59:59,990 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,008 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,023 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,029 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,043 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,059 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,065 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,079 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,094 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,103 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,118 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,136 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,144 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,159 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,173 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,181 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,199 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,215 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,220 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,238 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,254 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,261 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,275 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,292 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,299 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,313 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,329 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,334 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,350 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,371 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,379 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,396 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,415 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,423 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,439 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,455 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,461 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,478 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,496 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,504 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,519 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,535 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,541 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,555 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,572 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,579 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,595 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,611 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,619 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,634 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,652 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,660 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,678 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,694 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,702 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,716 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,738 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,749 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,791 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,803 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,834 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,859 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,888 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (24ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,946 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (20ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:00,970 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:00,979 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:00,999 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,043 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,063 [56   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,104 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,122 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,130 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,147 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,165 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,176 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,191 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,213 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,225 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,252 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,311 [57   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,327 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,390 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,427 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,448 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,513 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,551 [52   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,561 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,585 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,611 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,622 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,640 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,666 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,689 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,715 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,743 [48   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,755 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,770 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,788 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,801 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,892 [56   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,921 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,931 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,954 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:01,975 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:01,983 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:01,998 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,015 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,022 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,039 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,060 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,067 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,084 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,102 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,110 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,133 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,155 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,163 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,181 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,200 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,215 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,234 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,254 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,264 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,280 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,299 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,307 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,330 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,352 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,362 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,390 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,413 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,423 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,448 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,464 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,471 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,490 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,509 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,515 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,536 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,555 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,566 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,585 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,603 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,616 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,642 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,663 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,680 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,702 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,724 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,742 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,766 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,787 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,793 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,810 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,827 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,833 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,848 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,867 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,873 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,891 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,909 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,917 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,934 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,952 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:02,960 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:02,978 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:02,996 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,002 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,018 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,034 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,040 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,059 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,080 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,087 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,104 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,123 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,133 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,149 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,167 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,177 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,197 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,217 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,226 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,245 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,266 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,275 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,293 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,319 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,330 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,351 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,371 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,378 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,398 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,419 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,427 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,451 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,474 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,488 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,511 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,537 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,549 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,576 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,614 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,630 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,666 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,701 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,710 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,737 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,757 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,791 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,810 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,817 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,836 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,858 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,868 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,887 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,907 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,916 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,937 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,953 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:03,962 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:03,979 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:03,998 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,011 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,028 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,049 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,061 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,081 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,101 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,108 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,137 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,157 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,165 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,183 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,206 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,216 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,235 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,258 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,269 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,293 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,315 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,324 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,350 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,373 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,383 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,404 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,437 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,444 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,470 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,497 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,521 [53   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,569 [53   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,589 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,600 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,621 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,641 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,652 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,673 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,695 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,702 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,721 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,740 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,747 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,764 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,783 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,785 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:00:04,786 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:04,788 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.52ms 204 
INFO  2025-04-03 16:00:04,792 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,809 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,824 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:00:04,826 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:04,827 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,829 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:00:04,831 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:04,836 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:00:04,837 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,851 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,878 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,883 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,897 [4    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:00:04,899 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,900 [4    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 61.9316ms
INFO  2025-04-03 16:00:04,902 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:04,904 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 79.336ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:00:04,921 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,927 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,948 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:04,969 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:04,975 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:04,991 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,008 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,016 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,032 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,048 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,054 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,070 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,086 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,092 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,109 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,159 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,177 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,201 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,224 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,234 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,255 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,276 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,283 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,300 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,316 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,323 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,343 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,360 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,367 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,385 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,402 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,408 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,424 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,442 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,450 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,467 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,484 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,491 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,507 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,524 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,532 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,547 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,564 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,572 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,588 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,607 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,614 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,629 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,647 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,655 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,672 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,690 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,698 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,717 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,734 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,742 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,760 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,777 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,785 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,800 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,817 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,825 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,840 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,857 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,863 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,879 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,896 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,903 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,919 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,939 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,947 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:05,963 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:05,982 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:05,990 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,008 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,047 [57   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,058 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,076 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,094 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,101 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,118 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,141 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,150 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,175 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,194 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,202 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,222 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,239 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,246 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,263 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,281 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,288 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,304 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,322 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,332 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,349 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,365 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,378 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,395 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,415 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,424 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,451 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,470 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,479 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,497 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,516 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,529 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,547 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,567 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,577 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,597 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,615 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,623 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,639 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,658 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,666 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,683 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,701 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,709 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,727 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,745 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,753 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,772 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,790 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,799 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,816 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,834 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,841 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,859 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,878 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,886 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,904 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,922 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,930 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,948 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:06,967 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:06,974 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:06,990 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,008 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,016 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,034 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,055 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,062 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,078 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,097 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,105 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,121 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,138 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,145 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,161 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,180 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,188 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,208 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,226 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,236 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,253 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,271 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,279 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,296 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,313 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,319 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,335 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,354 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,360 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,377 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,394 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,400 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,418 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,435 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,443 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,462 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,481 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,488 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,506 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,525 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,534 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,552 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,570 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,579 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,597 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,615 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,624 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,641 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,659 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,666 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,684 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,703 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,712 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,730 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,749 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,757 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,775 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,794 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,802 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,819 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,837 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,845 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,862 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,883 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,891 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,908 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,926 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,934 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,952 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:07,970 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:07,978 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:07,995 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,016 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,023 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,041 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,058 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,066 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,083 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,101 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,109 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,127 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,146 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,153 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,172 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,190 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,200 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,218 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,237 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,246 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,266 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,284 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,293 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,310 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,329 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,337 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,355 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,373 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,382 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,399 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,417 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,425 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,442 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,461 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,471 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,491 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,511 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,519 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,549 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,568 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,578 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,602 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,622 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,631 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,657 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,686 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,694 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,717 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,739 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,752 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,773 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,798 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,809 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,831 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,858 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,869 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,889 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,908 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,916 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,936 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:08,956 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:08,965 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:08,989 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,008 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,016 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,036 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,055 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,066 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,086 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,104 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,111 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,129 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,149 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,155 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,173 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,194 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,204 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,221 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,241 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,249 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,269 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,289 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,298 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,315 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,336 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,343 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,361 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,385 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,392 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,411 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,431 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,439 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,460 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,483 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,490 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,510 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,528 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,535 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,553 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,572 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,580 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,596 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,614 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,621 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,639 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,657 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,663 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,681 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,705 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,712 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,730 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,752 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,757 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,776 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,794 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,803 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,821 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,839 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,846 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,863 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,882 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,889 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,908 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,928 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,935 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,953 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:09,971 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:09,978 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:09,994 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,013 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,019 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,036 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,053 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,060 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,078 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,100 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,113 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,130 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,153 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,160 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,177 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,198 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,205 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,226 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,245 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,253 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,271 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,292 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,298 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,317 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,336 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,343 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,361 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,381 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,389 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,408 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,428 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,436 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,454 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,472 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,482 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,502 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,527 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,534 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,552 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,571 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,577 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,596 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,616 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,625 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,643 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,662 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,669 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,687 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,706 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,714 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,731 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,749 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,757 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,776 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,796 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,802 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,820 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,839 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,845 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,863 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,884 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,892 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,911 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,932 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,942 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:10,961 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:10,980 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:10,988 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,009 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,028 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,035 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,052 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,070 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,078 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,096 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,116 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,125 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,143 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,162 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,170 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,189 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,209 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,218 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,240 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,258 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,264 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,282 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,302 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,310 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,330 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,352 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,360 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,379 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,403 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,412 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,436 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,460 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,469 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,494 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,516 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,526 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,546 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,567 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,575 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,593 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,612 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,619 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,638 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,658 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,664 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,682 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,701 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,710 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,728 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,749 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,755 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,774 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,794 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,801 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,820 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,839 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,847 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,866 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,885 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,893 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,910 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,931 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,938 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:11,956 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:11,977 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:11,984 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,004 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,023 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,031 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,050 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,069 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,076 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,093 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,113 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,119 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,139 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,160 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,168 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,189 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,211 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,221 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,239 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,259 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,265 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,285 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,306 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,314 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,332 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,353 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,361 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,380 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,400 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,407 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,430 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,450 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,460 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,478 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,498 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,505 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,524 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,543 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,551 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,573 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,592 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,600 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,620 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,639 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,645 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,664 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,684 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,690 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,708 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,727 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,734 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,753 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,774 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,782 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,800 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,821 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,827 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,845 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,864 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,872 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,892 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,912 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,919 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,937 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:12,956 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:12,963 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:12,982 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,005 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,012 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,030 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,048 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,054 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,072 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,092 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,099 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,118 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,138 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,145 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,163 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,184 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,191 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,209 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,228 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,245 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,263 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,288 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,296 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,313 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,334 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,340 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,363 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,383 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,391 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,410 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,430 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,440 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,459 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,479 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,487 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,506 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,526 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,534 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,554 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,574 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,584 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,603 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,624 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,633 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,656 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,680 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,690 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,715 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,739 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,746 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,765 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,786 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,794 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,812 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,832 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,840 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,858 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,879 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,886 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,905 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,925 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,933 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:13,953 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:13,974 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:13,982 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,003 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,024 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,034 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,053 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,073 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,081 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,100 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,121 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,129 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,148 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,168 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,176 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,196 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,220 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,229 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,250 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,272 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,284 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,305 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,327 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,334 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,355 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,375 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,384 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,403 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,424 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,435 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,455 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,477 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,484 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,504 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,526 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,533 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,553 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,575 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,583 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,602 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,623 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,632 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,652 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,672 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,680 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,701 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,723 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,731 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,751 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,779 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,798 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,822 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,830 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,848 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,868 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,875 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,895 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,915 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,926 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,946 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:14,966 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:14,974 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:14,998 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,017 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,024 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,044 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,065 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,081 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,100 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,120 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,130 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,148 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,171 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,179 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,199 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,223 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,231 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,252 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,274 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,283 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,309 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,341 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,356 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,387 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,407 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,416 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,436 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,464 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,474 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,496 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,518 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,526 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,546 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,570 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,579 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,601 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,627 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,637 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,671 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,719 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (32ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,804 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (81ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,908 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (88ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:15,963 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (38ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:15,974 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:15,997 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,021 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,029 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,049 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,071 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,080 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,100 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,123 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,132 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,150 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,171 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,178 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,196 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,220 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,229 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,249 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,269 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,275 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,299 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,321 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,328 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,347 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,368 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,374 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,394 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,414 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,420 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,439 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,460 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,469 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,489 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,508 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,514 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,533 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,557 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,565 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,584 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,604 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,611 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,629 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,650 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,656 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,675 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,694 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,700 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,723 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,743 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,753 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,773 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,792 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,800 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,818 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,838 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,844 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,863 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,883 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,891 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,909 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,932 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,938 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:16,958 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:16,980 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:16,989 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,009 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,029 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,037 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,055 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,077 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,083 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,102 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,121 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,127 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,146 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,166 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,172 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,191 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,211 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,217 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,237 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,257 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,265 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,287 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,307 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,313 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,332 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,351 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,357 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,376 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,396 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,401 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,420 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,439 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,446 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,466 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,499 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,505 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,526 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,546 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,552 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,571 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,591 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,597 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,616 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,636 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,641 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,668 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,688 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,695 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,714 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,737 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,743 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,763 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,782 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,793 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,814 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,835 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,842 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,866 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,890 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,897 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,920 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,943 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:17,950 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:17,976 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:17,997 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,004 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,023 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,044 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,050 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,069 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,089 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,124 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,145 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,165 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,172 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,192 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,211 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,217 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,235 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,254 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,260 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,279 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,299 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,308 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,328 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,348 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,353 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,372 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,393 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,398 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,417 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,437 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,443 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,463 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,485 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,491 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,512 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,534 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,541 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,562 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,584 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,591 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,612 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,634 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,642 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,662 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,683 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,690 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,710 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,734 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,742 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,786 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,810 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,819 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,840 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,860 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,868 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,887 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,908 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,914 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,935 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:18,956 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:18,965 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:18,984 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,006 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,015 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,035 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,055 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,061 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,083 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,102 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,109 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,131 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,152 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,161 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,179 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,202 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,210 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,231 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,253 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,260 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,281 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,302 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,309 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,330 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,351 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,359 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,380 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,403 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,410 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,429 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,450 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,458 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,480 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,502 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,509 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,531 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,553 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,560 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,581 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,601 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,609 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,630 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,654 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,662 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,682 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,703 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,710 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,733 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,754 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,761 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,783 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,804 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,811 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,832 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,854 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,860 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,881 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,902 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,908 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,928 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:19,951 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:19,959 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:19,983 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,006 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,013 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,034 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,057 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,065 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,087 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,109 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,115 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,138 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,161 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,168 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,189 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,214 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,223 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,244 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,265 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,272 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,295 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,317 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,327 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,347 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,369 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,376 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,398 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,420 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,427 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,450 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,472 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,482 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,504 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,526 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,534 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,557 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,580 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,588 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,610 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,631 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,640 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,662 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,684 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,691 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,713 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,736 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,745 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,764 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,787 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,795 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,817 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,841 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,848 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,872 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,895 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,903 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,927 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:20,952 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:20,960 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:20,982 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,005 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,014 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,038 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,061 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,070 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,090 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,113 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,122 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,144 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,165 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,174 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,196 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,218 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,226 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,247 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,269 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,279 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,302 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,324 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,331 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,352 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,376 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,383 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,404 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,428 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,435 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,458 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,479 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,487 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,508 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,532 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,546 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,568 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,592 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,602 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,625 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,650 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,660 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,690 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,714 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,722 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,743 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,771 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,780 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,803 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,826 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,835 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,858 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,884 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,891 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,913 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,936 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,944 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:21,964 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:21,986 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:21,995 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,016 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,048 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,057 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,081 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,108 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,117 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,140 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,164 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,171 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,193 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,216 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,223 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,246 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,268 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,275 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,296 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,317 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,324 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,345 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,368 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,375 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,404 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,426 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,432 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,454 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,498 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,506 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,542 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,568 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,580 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,605 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,635 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,663 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,708 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (26ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,762 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (31ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,778 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,799 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,820 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,826 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,846 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,868 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,875 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,897 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,920 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,928 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,949 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:22,970 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:22,977 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:22,999 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,021 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,028 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,049 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,071 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,079 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,100 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,123 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,131 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,150 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,172 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,179 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,200 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,223 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,233 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,254 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,276 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,283 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,304 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,326 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,331 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,351 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,373 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,379 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,400 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,425 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,431 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,450 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,471 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,478 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,499 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,521 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,527 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,548 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,569 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,575 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,596 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,619 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,626 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,648 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,671 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,678 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,700 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,722 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,727 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,748 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,771 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,779 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,800 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,820 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,826 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,846 [44   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,867 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,874 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,894 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,916 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,922 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,944 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:23,966 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:23,972 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:23,993 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,015 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,021 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,042 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,062 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,069 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,091 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,113 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,120 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,140 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,164 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,170 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,191 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,212 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,219 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,247 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,271 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,279 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,300 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,322 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,327 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,347 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,369 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,374 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,395 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,417 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,425 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,446 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,469 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,476 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,497 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,519 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,526 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,551 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,573 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,581 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,605 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,628 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,636 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,657 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,680 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,689 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,710 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,734 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,742 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,763 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,777 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:00:24,779 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:24,781 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0182ms 204 
INFO  2025-04-03 16:00:24,782 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:00:24,784 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:24,787 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:00:24,790 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:24,791 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,796 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:00:24,798 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,820 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,843 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,848 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,876 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,913 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:00:24,915 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 116.9329ms
INFO  2025-04-03 16:00:24,917 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:24,919 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 136.1301ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:00:24,933 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,941 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:24,963 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:24,987 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:24,996 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,020 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,048 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,053 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,073 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,095 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,104 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,125 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,148 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,155 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,176 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,199 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,207 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,227 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,256 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,265 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,287 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,309 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,315 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,339 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,362 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,371 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,396 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,418 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,425 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,447 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,472 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,480 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,502 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,525 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,531 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,553 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,576 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,583 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,604 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,628 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,636 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,661 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,683 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,692 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,713 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,738 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,748 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,771 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,795 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,803 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,823 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,848 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,855 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,876 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,899 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,907 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,928 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:25,950 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:25,958 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:25,978 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,002 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,009 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,031 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,057 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,064 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,085 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,109 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,116 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,138 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,161 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,172 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,194 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,218 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,224 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,247 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,274 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,282 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,309 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,335 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,342 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,367 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,394 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,400 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,422 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,446 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,454 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,475 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,498 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,505 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,528 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,552 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,560 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,582 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,607 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,615 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,636 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,659 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,672 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,704 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,728 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,736 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,760 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,786 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,794 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,820 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,843 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,850 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,874 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,898 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,907 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,930 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:26,953 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:26,962 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:26,984 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,009 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,016 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,038 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,062 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,070 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,091 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,114 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,123 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,145 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,168 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,175 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,198 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,221 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,229 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,251 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,273 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,280 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,306 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,335 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,342 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,367 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,391 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,398 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,421 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,446 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,452 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,474 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,498 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,506 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,530 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,555 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,562 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,585 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,609 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,616 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,638 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,661 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,668 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,689 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,713 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,719 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,740 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,764 [4    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,771 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,793 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,817 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,825 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,848 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,873 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,884 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,907 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:27,931 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:00:27,940 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:00:27,965 [11   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:00:28,131 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:00:28,135 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 47728.5141ms
INFO  2025-04-03 16:00:28,138 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:00:28,139 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 47749.1494ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:00:28,142 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 16:00:28,143 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:28,144 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5365ms 204 
INFO  2025-04-03 16:00:28,146 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 16:00:28,147 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:28,150 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:00:28,152 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:00:28,156 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 16:00:28,352 [11   ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 16:00:28,355 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:00:28,357 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 198.8812ms
INFO  2025-04-03 16:00:28,358 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:00:28,360 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 214.1417ms 500 application/json; charset=utf-8
INFO  2025-04-03 16:00:45,133 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:00:45,135 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:45,137 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1903ms 204 
INFO  2025-04-03 16:00:45,139 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:00:45,141 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:00:45,143 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:00:45,145 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:45,148 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:00:45,295 [11   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:00:45,297 [11   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 146.8399ms
INFO  2025-04-03 16:00:45,298 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:00:45,300 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 161.0795ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:01:05,135 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:01:05,137 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:05,138 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.6866ms 204 
INFO  2025-04-03 16:01:05,142 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:01:05,143 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:05,145 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:01:05,147 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:05,151 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:01:05,214 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:01:05,216 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.7104ms
INFO  2025-04-03 16:01:05,218 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:05,219 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 77.0693ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:01:25,129 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:01:25,132 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:25,134 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7796ms 204 
INFO  2025-04-03 16:01:25,136 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:01:25,138 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:25,140 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:01:25,143 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:25,148 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:01:25,221 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:01:25,222 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.1341ms
INFO  2025-04-03 16:01:25,225 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:25,227 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.0956ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:01:46,129 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:01:46,132 [52   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:46,134 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.7461ms 204 
INFO  2025-04-03 16:01:46,139 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:01:46,141 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:01:46,143 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:01:46,147 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:46,152 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:01:46,226 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:01:46,229 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 74.4821ms
INFO  2025-04-03 16:01:46,231 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:01:46,233 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 94.0452ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:02:24,790 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:02:24,797 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:02:24,800 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.6136ms 204 
INFO  2025-04-03 16:02:24,804 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:02:24,806 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:02:24,812 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:02:24,816 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:02:24,822 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:02:24,916 [36   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:02:24,918 [36   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 94.1869ms
INFO  2025-04-03 16:02:24,920 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:02:24,922 [36   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 119.4782ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:02:45,129 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:02:45,133 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:02:45,171 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.3357ms 204 
INFO  2025-04-03 16:02:45,175 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:02:45,177 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:02:45,180 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:02:45,213 [36   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:02:45,216 [36   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:02:45,293 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:02:45,295 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.7958ms
INFO  2025-04-03 16:02:45,298 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:02:45,299 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 124.8985ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:03:05,124 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:03:05,125 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:05,127 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6037ms 204 
INFO  2025-04-03 16:03:05,131 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:03:05,132 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:05,134 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:03:05,135 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:05,140 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:03:05,206 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:03:05,207 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 65.2574ms
INFO  2025-04-03 16:03:05,209 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:05,211 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.2479ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:03:25,141 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:03:25,143 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:25,146 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.5707ms 204 
INFO  2025-04-03 16:03:25,149 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:03:25,150 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:25,153 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:03:25,157 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:25,163 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:03:25,233 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:03:25,235 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.473ms
INFO  2025-04-03 16:03:25,236 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:25,238 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.0721ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:03:41,637 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 16:03:41,671 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:41,677 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 37.468ms 204 
INFO  2025-04-03 16:03:41,689 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 16:03:41,692 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:41,695 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:03:41,697 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:03:41,703 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:03:41,711 [49   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:03:41,744 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:03:41,760 [45   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:03:41,806 [45   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:03:41,809 [45   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 102.5557ms
INFO  2025-04-03 16:03:41,810 [45   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:03:41,812 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 128.2898ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:03:44,769 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:03:44,770 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:44,773 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5996ms 204 
INFO  2025-04-03 16:03:44,775 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:03:44,776 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:03:44,778 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:03:44,779 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:44,784 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:03:44,850 [37   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:03:44,852 [37   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.0686ms
INFO  2025-04-03 16:03:44,853 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:03:44,855 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 80.6575ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:04:05,134 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:04:05,136 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:05,138 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7464ms 204 
INFO  2025-04-03 16:04:05,148 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:04:05,151 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:05,154 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:04:05,156 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:05,166 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:04:06,060 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:04:06,062 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 894.5446ms
INFO  2025-04-03 16:04:06,064 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:06,065 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 918.9584ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:04:25,147 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:04:25,150 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:25,152 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.4667ms 204 
INFO  2025-04-03 16:04:25,156 [49   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:04:25,158 [49   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:25,160 [49   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:04:25,162 [49   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:25,166 [49   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:04:25,239 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:04:25,242 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.4752ms
INFO  2025-04-03 16:04:25,244 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:25,246 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.0207ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:04:45,124 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:04:45,128 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:45,130 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.4432ms 204 
INFO  2025-04-03 16:04:45,131 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:04:45,133 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:04:45,135 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:04:45,136 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:45,141 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:04:45,214 [47   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:04:45,216 [47   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.4548ms
INFO  2025-04-03 16:04:45,218 [47   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:04:45,219 [47   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 88.0392ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:05:30,219 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:05:30,221 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:05:30,223 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9942ms 204 
INFO  2025-04-03 16:05:30,224 [48   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:05:30,226 [48   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:05:30,228 [48   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:05:30,230 [48   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:05:30,234 [48   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:05:30,306 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:05:30,308 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.5322ms
INFO  2025-04-03 16:05:30,310 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:05:30,313 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 87.8028ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:05:45,128 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:05:45,129 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:05:45,131 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0266ms 204 
INFO  2025-04-03 16:05:45,133 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:05:45,135 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:05:45,137 [53   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:05:45,138 [53   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:05:45,143 [53   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:05:45,219 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:05:45,221 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.5ms
INFO  2025-04-03 16:05:45,223 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:05:45,225 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 91.6496ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:06:05,131 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:06:05,132 [53   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:05,134 [53   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.692ms 204 
INFO  2025-04-03 16:06:05,136 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:06:05,137 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:05,139 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:06:05,141 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:05,145 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:06:05,215 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:06:05,216 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.0721ms
INFO  2025-04-03 16:06:05,218 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:05,219 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 83.6072ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:06:25,128 [54   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:06:25,130 [54   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:25,132 [54   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3397ms 204 
INFO  2025-04-03 16:06:25,136 [52   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:06:25,137 [52   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:25,140 [52   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:06:25,141 [52   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:25,145 [52   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:06:25,208 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:06:25,210 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 63.092ms
INFO  2025-04-03 16:06:25,211 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:25,212 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 76.1132ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:06:46,134 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:06:46,137 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:46,141 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0734ms 204 
INFO  2025-04-03 16:06:46,147 [57   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:06:46,150 [57   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:06:46,152 [57   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:06:46,154 [57   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:46,195 [57   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:06:47,589 [7    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:06:47,591 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1394.0865ms
INFO  2025-04-03 16:06:47,592 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:06:47,594 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1447.5402ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 16:07:36,307 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 16:07:36,358 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 16:07:36,378 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,379 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,380 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,380 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,380 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,381 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,381 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,381 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,382 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,382 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,382 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,382 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,382 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,383 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,384 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,384 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,384 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,386 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 16:07:36,429 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:07:36,429 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:07:36,429 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:07:36,429 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:07:36,429 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:07:36,853 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:36,860 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:37,054 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:07:37,750 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 16:07:37,805 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 16:07:37,846 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 16:07:37,861 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 16:07:37,959 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 16:07:37,987 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 16:07:37,990 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 16:07:38,091 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 16:07:38,130 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 16:07:38,130 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 16:07:38,134 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 16:07:38,134 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 16:07:38,135 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 16:07:38,136 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 16:07:38,136 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 16:07:38,136 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 16:07:38,136 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 16:07:38,891 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:07:39,361 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (23ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,412 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,421 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,428 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,433 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,441 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,454 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,462 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,471 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:07:39,484 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:07:39,495 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:07:39,502 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:07:39,508 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:07:40,394 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 16:07:40,526 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 16:07:40,544 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 16:07:40,545 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 16:07:40,547 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 16:07:40,549 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 16:07:40,626 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:46552:10adee34 successfully announced in 55.1283 ms
INFO  2025-04-03 16:07:40,633 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:46552:10adee34 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 16:07:40,653 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:46552:10adee34 all the dispatchers started
INFO  2025-04-03 16:07:40,800 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 16:07:40,876 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:07:40,888 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:07:40,895 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 19.2258ms 204 
INFO  2025-04-03 16:07:40,911 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:07:40,913 [15   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:07:41,088 [15   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:07:41,193 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:07:41,411 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 16:07:41,691 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:07:44,378 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 16:07:44,382 [15   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:07:45,450 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:07:45,513 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:07:45,516 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:07:45,519 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 1128.2291ms
INFO  2025-04-03 16:07:45,522 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:07:45,526 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:07:45,532 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:07:45,534 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4622.6483ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:07:45,555 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:07:45,637 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:07:45,642 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 85.0268ms
INFO  2025-04-03 16:07:45,644 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:07:45,646 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 133.7065ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:07:45,666 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 16:07:45,669 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1288.6996ms
INFO  2025-04-03 16:07:45,671 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:07:45,674 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4265.1177ms 302 
INFO  2025-04-03 16:07:45,680 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 16:07:45,745 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 64.3448ms 200 text/html;charset=utf-8
INFO  2025-04-03 16:07:45,789 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 16:07:45,793 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9395ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 16:07:45,795 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 16:07:45,825 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 31.7864ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 16:07:45,982 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 16:07:45,987 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:07:45,994 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 16:07:45,997 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 16:07:46,045 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:07:46,049 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 48.7088ms
INFO  2025-04-03 16:07:46,052 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:07:46,056 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 73.64ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:07:46,230 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 235.6589ms 200 application/json;charset=utf-8
INFO  2025-04-03 16:08:05,132 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:08:05,135 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:05,137 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.3769ms 204 
INFO  2025-04-03 16:08:05,141 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:08:05,143 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:05,145 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:08:05,147 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:05,153 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:08:05,228 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:08:05,230 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 76.0333ms
INFO  2025-04-03 16:08:05,232 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:05,234 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.5344ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:08:25,134 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:08:25,136 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:25,138 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4663ms 204 
INFO  2025-04-03 16:08:25,142 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:08:25,144 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:25,147 [13   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:08:25,148 [13   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:25,154 [13   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:08:25,223 [8    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:08:25,226 [8    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 69.3342ms
INFO  2025-04-03 16:08:25,227 [8    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:25,229 [8    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 86.942ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:08:45,125 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:08:45,127 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:45,129 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.3621ms 204 
INFO  2025-04-03 16:08:45,133 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:08:45,135 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:08:45,139 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:08:45,141 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:45,146 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:08:45,221 [32   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:08:45,223 [32   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.3977ms
INFO  2025-04-03 16:08:45,224 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:08:45,226 [32   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.6949ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:09:05,134 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:09:05,137 [13   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:05,162 [13   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1426ms 204 
INFO  2025-04-03 16:09:05,166 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:09:05,169 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:05,172 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:09:05,174 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:05,180 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:09:05,249 [32   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:09:05,252 [32   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.1138ms
INFO  2025-04-03 16:09:05,254 [32   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:05,256 [32   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.7471ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:09:25,125 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:09:25,127 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:25,129 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9405ms 204 
INFO  2025-04-03 16:09:25,132 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:09:25,134 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:25,137 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:09:25,138 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:25,143 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:09:25,532 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:09:25,540 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 389.8676ms
INFO  2025-04-03 16:09:25,544 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:25,548 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 414.3717ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:09:46,133 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:09:46,137 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:46,140 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.4973ms 204 
INFO  2025-04-03 16:09:46,146 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:09:46,148 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:09:46,151 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:09:46,154 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:46,159 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:09:46,237 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:09:46,240 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 79.3194ms
INFO  2025-04-03 16:09:46,242 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:09:46,244 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 98.0966ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:10:46,131 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:10:46,132 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:10:46,135 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0619ms 204 
INFO  2025-04-03 16:10:46,138 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:10:46,139 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:10:46,141 [37   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:10:46,143 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:10:46,148 [37   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:10:46,231 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:10:46,236 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 84.2592ms
INFO  2025-04-03 16:10:46,238 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:10:46,240 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 101.9668ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:05,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:11:05,141 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:05,143 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.6173ms 204 
INFO  2025-04-03 16:11:05,148 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:11:05,150 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:05,152 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:05,154 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:05,158 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:11:05,243 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:05,245 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 85.2631ms
INFO  2025-04-03 16:11:05,247 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:05,248 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 100.581ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:25,121 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:11:25,123 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:25,125 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.3445ms 204 
INFO  2025-04-03 16:11:25,126 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:11:25,128 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:25,130 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:25,132 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:25,138 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:11:25,216 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:25,219 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 78.7986ms
INFO  2025-04-03 16:11:25,220 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:25,222 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 96.0333ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:33,962 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 16:11:33,964 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:33,965 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.5863ms 204 
INFO  2025-04-03 16:11:33,969 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 16:11:33,971 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:33,974 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:33,977 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:34,009 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:11:35,787 [6    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:11:36,025 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (51ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:11:36,059 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:11:36,179 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:36,186 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 2174.6693ms
INFO  2025-04-03 16:11:36,187 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:36,189 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2221.5931ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:38,798 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 16:11:38,801 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:38,803 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.1198ms 204 
INFO  2025-04-03 16:11:38,807 [39   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 16:11:38,809 [39   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:38,818 [39   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:38,820 [39   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:38,827 [39   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:11:39,004 [34   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:11:39,037 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 16:11:39,183 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 16:11:39,278 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,321 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,378 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,397 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,404 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,413 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,424 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,432 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,440 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,453 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,461 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,472 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,482 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,498 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,514 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,524 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,530 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,539 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,553 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,560 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,576 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,588 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,595 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,618 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,634 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,644 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,657 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,667 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,677 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,692 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,704 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,713 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,724 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,735 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,743 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,754 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,762 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,773 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,781 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,792 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,799 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,812 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,822 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,832 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,851 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,862 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,872 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,881 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,893 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,911 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,947 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:39,962 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:39,972 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:39,990 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,002 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,012 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,019 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,032 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,043 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,052 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,062 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,075 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,088 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,097 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,109 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,121 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,129 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,140 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,148 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,157 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,166 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,173 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,187 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,198 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,205 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,214 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,226 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,233 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,241 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,256 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,263 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,273 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,282 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,291 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,300 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,312 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,318 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,330 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,339 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,345 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,354 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,366 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,375 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,384 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,397 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,404 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,413 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,423 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,431 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,439 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,453 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,458 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,469 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,478 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,488 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,496 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,509 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,516 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,529 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,540 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,548 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,557 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,571 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,579 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,596 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,611 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,622 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,633 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,645 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,654 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,672 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,682 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,694 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,704 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,714 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,720 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,731 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,740 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,747 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,756 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,771 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,779 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,790 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,802 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,817 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,830 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,840 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,848 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,857 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,869 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,875 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,887 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,897 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,908 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,917 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,927 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,948 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (16ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,956 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:40,968 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:40,974 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:40,990 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,009 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,017 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,029 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,040 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,047 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,057 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,070 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,082 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,114 [38   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (25ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,138 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,150 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,160 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,171 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,181 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,192 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,201 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,214 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,223 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,240 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,252 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,260 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,271 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,281 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,291 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,301 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,317 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,325 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,349 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,357 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,371 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,383 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,393 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,403 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,417 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,423 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,432 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,443 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,450 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,459 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,471 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,490 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,500 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,509 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,521 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,531 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,535 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,550 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,560 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,569 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,583 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,592 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,600 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,624 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,635 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,645 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,657 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,663 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,673 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,683 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,692 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,702 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,713 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,718 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,730 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,739 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,749 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,758 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,772 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,781 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,790 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,802 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,811 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,822 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,833 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,839 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,850 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,859 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,868 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,877 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,892 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,899 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,911 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,922 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,939 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,953 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,964 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:41,973 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:41,983 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:41,999 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,006 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,015 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,027 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,034 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,044 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,058 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,067 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,076 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,089 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,097 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,109 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,122 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,133 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,144 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,155 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,162 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,173 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,183 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,190 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,200 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,212 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,220 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,232 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,246 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,253 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,263 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,276 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,283 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,293 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,304 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,311 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,323 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,338 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,349 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,360 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,373 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,382 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,394 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,418 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,429 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,441 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,453 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,459 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,472 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,483 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,493 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,503 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,514 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,520 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,532 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,545 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,552 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,561 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,572 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,578 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,598 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,622 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,630 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,640 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,652 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,658 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,673 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,683 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,692 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,704 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,716 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,726 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,741 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,755 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,762 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,772 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,783 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,793 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,803 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,816 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,824 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,834 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,853 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,860 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,871 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,882 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,891 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,901 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,916 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,925 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,935 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,951 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,959 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,969 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:42,980 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:42,988 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:42,998 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,010 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,017 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,030 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,042 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,055 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,068 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,079 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,089 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,100 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,112 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,120 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,130 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,140 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,149 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,160 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,173 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,180 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,191 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,203 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,211 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,221 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,233 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,240 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,254 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,265 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,273 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,283 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,295 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,303 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,312 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,324 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,332 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,343 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,364 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,372 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,382 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,394 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,400 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,410 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,421 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,432 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,443 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,455 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,464 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,474 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,486 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,493 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,503 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,515 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,523 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,533 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,544 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,554 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,565 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,576 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,582 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,592 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,603 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,610 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,622 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,633 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,641 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,653 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,670 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,677 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,690 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,702 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,710 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,721 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,733 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,739 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,749 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,761 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,773 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,783 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,794 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,801 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,811 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,825 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,832 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,844 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,857 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,867 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,880 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,903 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,917 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,927 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,937 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,943 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,954 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:43,966 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:43,979 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:43,993 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,004 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,013 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,023 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,033 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,041 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,052 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,074 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,085 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,096 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,102 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,114 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,126 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,132 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,143 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,154 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,163 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,176 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,188 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,195 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,209 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,221 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,228 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,239 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,252 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,259 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,274 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,288 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,301 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,324 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,336 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,345 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,356 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,371 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,377 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,391 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,405 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,416 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,431 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,442 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,453 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,464 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,476 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,484 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,495 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,507 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,516 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,527 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,541 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,551 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,561 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,576 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,584 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,594 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,635 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,642 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,655 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,667 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,673 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,683 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,694 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,700 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,715 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,726 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,732 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,741 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,752 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,759 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,772 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,774 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:11:44,776 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:44,777 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8819ms 204 
INFO  2025-04-03 16:11:44,781 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:11:44,788 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:44,793 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:44,800 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,835 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:44,854 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,859 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:11:44,873 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,886 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,902 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,914 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,926 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,933 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,941 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:44,944 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 82.089ms
INFO  2025-04-03 16:11:44,945 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,947 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:11:44,950 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 169.2166ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:44,962 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:44,972 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:44,984 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:44,995 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,003 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,013 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,025 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,032 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,043 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,055 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,062 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,072 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,084 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,093 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,104 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,116 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,121 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,134 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,146 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,155 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,166 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,181 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,191 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,206 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,219 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,227 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,238 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,253 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,264 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,274 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,285 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,296 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,307 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,318 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,326 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,338 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,349 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,356 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,368 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,381 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,387 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,397 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,411 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,418 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,434 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,450 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,457 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,467 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,484 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,495 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,507 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,515 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,526 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,537 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,546 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,557 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,578 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,590 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,601 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,608 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,618 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,632 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,640 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,653 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,665 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,684 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,697 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,707 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,718 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,734 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,741 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,752 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,764 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,777 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,790 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,801 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,812 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,822 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,834 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,842 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,852 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,865 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,871 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,881 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,894 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,900 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,910 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,924 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,932 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,942 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,954 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:45,968 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:45,978 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:45,992 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,005 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,019 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,033 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,039 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,052 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,064 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,072 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,084 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,100 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,111 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,134 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,152 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,160 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,172 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,186 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,192 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,203 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,216 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,227 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,238 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,287 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,294 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,308 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,322 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,333 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,358 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,391 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,397 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,417 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,444 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,451 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,463 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,479 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,489 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,500 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,513 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,520 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,533 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,550 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,558 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,570 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,584 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,594 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,607 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,618 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,624 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,635 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,652 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,659 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,672 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,685 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,691 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,703 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,724 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,736 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,750 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,757 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,770 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,782 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,796 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,810 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,821 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,830 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,846 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,859 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,866 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,877 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,893 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,901 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,916 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,930 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,937 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,956 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:46,970 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:46,978 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:46,989 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,002 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,014 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,025 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,040 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,051 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,064 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,077 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,083 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,094 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,110 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,118 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,132 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,150 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,163 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,179 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,197 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,204 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,215 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,231 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,240 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,252 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,269 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,278 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,293 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,310 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,316 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,330 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,342 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,356 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,371 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,383 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,393 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,406 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,420 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,430 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,443 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,457 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,464 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,476 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,493 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,500 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,511 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,523 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,532 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,545 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,564 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,572 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,600 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,617 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,624 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,635 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,651 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,658 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,671 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,684 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,691 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,702 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,725 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,736 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,756 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,769 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,781 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,794 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,801 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,813 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,829 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,836 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,851 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,865 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,873 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,884 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,897 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,903 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,914 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,930 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,937 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,950 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:47,966 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:47,976 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:47,991 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,003 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,012 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,025 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,038 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,049 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,059 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,075 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,083 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,094 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,111 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,118 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,134 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,152 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,163 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,176 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,190 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,197 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,209 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,223 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,243 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,255 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,263 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,279 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,294 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,300 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,312 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,327 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,334 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,353 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,370 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,381 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,394 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,409 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,416 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,434 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,454 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,463 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,478 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,495 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,502 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,514 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,531 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,538 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,552 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,581 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,596 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,611 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,619 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,630 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,643 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,661 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,678 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,692 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,700 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,712 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,725 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,731 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,745 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,759 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,769 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,781 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,797 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,803 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,815 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,832 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,839 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,851 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,863 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,871 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,884 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,901 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,911 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,925 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,937 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,944 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,956 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:48,971 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:48,979 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:48,996 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,012 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,020 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,032 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,046 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,054 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,070 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,084 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,092 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,107 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,122 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,132 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,151 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,172 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,179 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,191 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,205 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,211 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,226 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,238 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,244 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,256 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,272 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,279 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,292 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,310 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,318 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,332 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,345 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,355 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,368 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,381 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,388 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,409 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,422 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,431 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,444 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,459 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,470 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,482 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,495 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,500 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,513 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,534 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,548 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,561 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,575 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,582 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,595 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,609 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,617 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,634 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,647 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,655 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,676 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,700 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,711 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,723 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,737 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,744 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,758 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,771 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,779 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,794 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,814 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,820 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,832 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,848 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,854 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,870 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,884 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,894 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,906 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,919 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,929 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,942 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:49,955 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:11:49,963 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__item_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND (`t`.`SourceId` = @__item_Id_0))
INFO  2025-04-03 16:11:49,976 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:11:50,080 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:50,082 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 11252.9523ms
INFO  2025-04-03 16:11:50,084 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:50,086 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 11278.5588ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:11:50,088 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 16:11:50,090 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:50,093 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.4878ms 204 
INFO  2025-04-03 16:11:50,096 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 16:11:50,097 [41   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:11:50,100 [41   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:11:50,102 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:50,111 [41   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 16:11:51,095 [41   ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 16:11:51,103 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:11:51,107 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 993.7166ms
INFO  2025-04-03 16:11:51,108 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:11:51,110 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1014.9054ms 500 application/json; charset=utf-8
INFO  2025-04-03 16:12:03,954 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 16:12:03,957 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:03,960 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0715ms 204 
INFO  2025-04-03 16:12:03,963 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 16:12:03,966 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:03,969 [38   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:12:03,975 [38   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:12:03,982 [38   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:12:03,991 [38   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:12:04,038 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:12:04,054 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:12:04,094 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:12:04,097 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 112.1972ms
INFO  2025-04-03 16:12:04,100 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:12:04,103 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 140.1694ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:12:04,774 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:12:04,776 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:04,778 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.0376ms 204 
INFO  2025-04-03 16:12:04,780 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:12:04,783 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:04,788 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:12:04,791 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:04,796 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:12:04,866 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:12:04,868 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.1658ms
INFO  2025-04-03 16:12:04,870 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:04,872 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.1482ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:12:24,772 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:12:24,774 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:24,775 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.8336ms 204 
INFO  2025-04-03 16:12:24,780 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:12:24,785 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:24,788 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:12:24,791 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:24,795 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:12:25,019 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:12:25,021 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 224.4707ms
INFO  2025-04-03 16:12:25,024 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:25,026 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 245.5496ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:12:40,683 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 16:12:45,133 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:12:45,135 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:45,136 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9791ms 204 
INFO  2025-04-03 16:12:45,140 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:12:45,142 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:45,145 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:12:45,148 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:45,153 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:12:45,242 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:12:45,244 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 88.7346ms
INFO  2025-04-03 16:12:45,245 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:12:45,247 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 106.7773ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:12:59,145 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=60&MaxResultCount=15  
INFO  2025-04-03 16:12:59,147 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:59,149 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2065ms 204 
INFO  2025-04-03 16:12:59,151 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=60&MaxResultCount=15 application/json 
INFO  2025-04-03 16:12:59,152 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:12:59,155 [33   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:12:59,157 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:12:59,170 [33   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:12:59,203 [33   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:12:59,494 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (85ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:12:59,563 [34   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (66ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:12:59,809 [34   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:12:59,812 [34   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 639.6084ms
INFO  2025-04-03 16:12:59,814 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:12:59,816 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 665.4798ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:13:04,770 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:13:04,772 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:04,773 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.9841ms 204 
INFO  2025-04-03 16:13:04,775 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:13:04,776 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:04,778 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:13:04,781 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:04,787 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:13:04,934 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:13:04,936 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 147.3584ms
INFO  2025-04-03 16:13:04,937 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:04,939 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 164.0408ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:13:25,126 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:13:25,128 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:25,130 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.1218ms 204 
INFO  2025-04-03 16:13:25,132 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:13:25,134 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:25,136 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:13:25,138 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:25,143 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:13:25,265 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:13:25,267 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 121.9368ms
INFO  2025-04-03 16:13:25,268 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:25,270 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 138.1007ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:13:45,123 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:13:45,125 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:45,127 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.8651ms 204 
INFO  2025-04-03 16:13:45,132 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:13:45,134 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:13:45,138 [37   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:13:45,140 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:45,145 [37   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:13:45,217 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:13:45,221 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 72.6308ms
INFO  2025-04-03 16:13:45,223 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:13:45,225 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 93.3408ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:14:05,136 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:14:05,138 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:05,140 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7.3334ms 204 
INFO  2025-04-03 16:14:05,142 [38   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:14:05,145 [38   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:05,150 [38   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:14:05,153 [38   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:05,157 [38   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:14:05,472 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:14:05,473 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 314.4267ms
INFO  2025-04-03 16:14:05,475 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:05,476 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 335.2978ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:14:25,133 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:14:25,135 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:25,137 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6528ms 204 
INFO  2025-04-03 16:14:25,138 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:14:25,140 [6    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:25,143 [6    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:14:25,150 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:25,156 [6    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:14:25,285 [31   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:14:25,286 [31   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 128.9105ms
INFO  2025-04-03 16:14:25,288 [31   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:25,289 [31   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 151.4744ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:14:45,134 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:14:45,135 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:45,137 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.6019ms 204 
INFO  2025-04-03 16:14:45,141 [33   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:14:45,143 [33   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:14:45,146 [33   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:14:45,148 [33   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:45,153 [33   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:14:45,225 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:14:45,227 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.248ms
INFO  2025-04-03 16:14:45,230 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:14:45,232 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.3962ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:15:46,132 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:15:46,136 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:15:46,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.129ms 204 
INFO  2025-04-03 16:15:46,146 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:15:46,148 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:15:46,150 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:15:46,158 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:15:46,172 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:15:46,225 [28   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:15:46,230 [28   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 52.5829ms
INFO  2025-04-03 16:15:46,232 [28   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:15:46,235 [28   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 89.1962ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:16:46,139 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:16:46,149 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:16:46,152 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 15.4854ms 204 
INFO  2025-04-03 16:16:46,154 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:16:46,156 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:16:46,158 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:16:46,160 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:16:46,165 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:16:46,244 [14   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:16:46,246 [14   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 80.1102ms
INFO  2025-04-03 16:16:46,248 [14   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:16:46,249 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 95.709ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:17:46,136 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:17:46,138 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:17:46,140 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.2911ms 204 
INFO  2025-04-03 16:17:46,150 [10   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:17:46,152 [10   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:17:46,154 [10   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:17:46,156 [10   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:17:46,163 [10   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:17:46,250 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:17:46,255 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 87.9389ms
INFO  2025-04-03 16:17:46,258 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:17:46,262 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 110.2951ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:18:46,150 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:18:46,155 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:18:46,159 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.5759ms 204 
INFO  2025-04-03 16:18:46,167 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:18:46,169 [12   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:18:46,173 [12   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:18:46,176 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:18:46,181 [12   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:18:46,255 [15   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:18:46,259 [15   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 73.6049ms
INFO  2025-04-03 16:18:46,260 [15   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:18:46,262 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 95.6933ms 200 application/json; charset=utf-8
DEBUG 2025-04-03 16:19:55,544 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
DEBUG 2025-04-03 16:19:55,592 [1    ] Abp.Modules.AbpModuleManager             - Found 22 ABP modules in total.
DEBUG 2025-04-03 16:19:55,609 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.Web.Host.Startup.ExamWebHostModule, YGNT.Exam.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,610 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamWebCoreModule, YGNT.Exam.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,611 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamApplicationModule, YGNT.Exam.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,611 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.ExamCoreModule, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,611 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,611 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,611 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AbpKernelModule, Abp, Version=5.14.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.QuestionLibraryApplicationModule, YGNT.QuestionLibrary.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.Core.QuestionLibraryCoreModule, YGNT.QuestionLibrary.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,612 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Infrastructure.InfrastructureModule, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,613 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Application.FileApplicationModule, YGNT.File.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,613 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.File.Core.FileCoreModule, YGNT.File.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,613 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryEntityFrameworkCoreModule, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,613 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,613 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,614 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,614 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: YGNT.Exam.EntityFrameworkCore.ExamEntityFrameworkModule, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,614 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,614 [1    ] Abp.Modules.AbpModuleManager             - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=5.13.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:55,616 [1    ] Abp.Modules.AbpModuleManager             - 22 modules loaded.
DEBUG 2025-04-03 16:19:55,658 [1    ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:19:55,658 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:19:55,658 [1    ] o.Configuration.LanguageManagementConfig - Converted Exam (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:19:55,658 [1    ] o.Configuration.LanguageManagementConfig - Converted QuestionLibrary (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:19:55,658 [1    ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2025-04-03 16:19:56,125 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Infrastructure.AbpEntity.BaseDbContext, YGNT.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:56,135 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.QuestionLibrary.EntityFrameworkCore.QuestionLibraryDbContext, YGNT.QuestionLibrary.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:56,378 [1    ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: YGNT.Exam.EntityFrameworkCore.ExamDbContext, YGNT.Exam.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2025-04-03 16:19:57,080 [1    ] Abp.Localization.LocalizationManager     - Initializing 5 localization sources.
DEBUG 2025-04-03 16:19:57,137 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Abp
DEBUG 2025-04-03 16:19:57,180 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpZero
DEBUG 2025-04-03 16:19:57,197 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: Exam
DEBUG 2025-04-03 16:19:57,296 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: QuestionLibrary
DEBUG 2025-04-03 16:19:57,325 [1    ] Abp.Localization.LocalizationManager     - Initialized localization source: AbpWeb
DEBUG 2025-04-03 16:19:57,329 [1    ] bp.Hangfire.HangfireBackgroundJobManager - Start background worker: Abp.Hangfire.HangfireBackgroundJobManager
DEBUG 2025-04-03 16:19:57,435 [1    ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[YGNT.Exam.MultiTenancy.Tenant, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[YGNT.Exam.Authorization.Users.User, YGNT.Exam.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
DEBUG 2025-04-03 16:19:57,475 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - Found 18 classes define auto mapping attributes
DEBUG 2025-04-03 16:19:57,475 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2025-04-03 16:19:57,479 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.CreateUserDto
DEBUG 2025-04-03 16:19:57,479 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Users.Dto.UserDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.TenantLoginInfoDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Sessions.Dto.UserLoginInfoDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Roles.Dto.PermissionDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.CreateTenantDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.MultiTenancy.Dto.TenantDto
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.Exam.Authorization.Users.Cache.UserCacheItem
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Textbooks.Cache.TextbookCacheItem
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionCacheItem
DEBUG 2025-04-03 16:19:57,480 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Questions.Cache.QuestionTypeCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.KnowledgePoints.Cache.KnowledgePointCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Disciplines.Cache.DisciplineQuestionTypeCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.Chapters.Cache.ChapterCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.QuestionLibrary.Core.BaseData.Cache.PaperStructureSettingCacheItem
DEBUG 2025-04-03 16:19:57,481 [1    ] Abp.AutoMapper.AbpAutoMapperModule       - YGNT.File.Core.Cache.FileCacheItem
INFO  2025-04-03 16:19:58,260 [1    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:19:58,743 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (22ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,804 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,811 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,817 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,825 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,830 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,845 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,853 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,862 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__structureSetting_Code_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT `p`.`Id`, `p`.`Code`, `p`.`IsDefault`, `p`.`Name`, `p`.`Param`
FROM `PaperStructureSettings` AS `p`
WHERE `p`.`Code` = @__structureSetting_Code_0
LIMIT 1
INFO  2025-04-03 16:19:58,878 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:19:58,885 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:19:58,891 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:19:58,898 [1    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ToString_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `QuestionTypes` AS `q`
    WHERE `q`.`Name` = @__ToString_0)
INFO  2025-04-03 16:19:59,810 [1    ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX,fr,de,it,nl,pt-BR,tr,ru,ar,zh-Hans,ja
INFO  2025-04-03 16:20:00,041 [1    ] Hangfire.MySql.MySqlStorage              - DB tables already exist. Exit install
INFO  2025-04-03 16:20:00,057 [1    ] Hangfire.BackgroundJobServer             - Starting Hangfire Server using job storage: 'Server: 10.150.10.139@tl_exam'
INFO  2025-04-03 16:20:00,059 [1    ] Hangfire.BackgroundJobServer             - Using the following options for SQL Server job storage:
INFO  2025-04-03 16:20:00,060 [1    ] Hangfire.BackgroundJobServer             -     Queue poll interval: 00:00:15.
INFO  2025-04-03 16:20:00,061 [1    ] Hangfire.BackgroundJobServer             - Using the following options for Hangfire Server:
    Worker count: 1
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
INFO  2025-04-03 16:20:00,132 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:45580:afd7c0aa successfully announced in 47.4897 ms
INFO  2025-04-03 16:20:00,138 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:45580:afd7c0aa is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
INFO  2025-04-03 16:20:00,155 [ss #1] Hangfire.Server.BackgroundServerProcess  - Server desktop-usv654p:45580:afd7c0aa all the dispatchers started
INFO  2025-04-03 16:20:00,307 [1    ] taProtection.KeyManagement.XmlKeyManager - User profile is available. Using 'C:\Users\pc\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
INFO  2025-04-03 16:20:00,762 [15   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/  
INFO  2025-04-03 16:20:00,947 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:20:04,152 [7    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller YGNT.Exam.Web.Host.Controllers.HomeController (YGNT.Exam.Web.Host).
INFO  2025-04-03 16:20:05,196 [7    ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
INFO  2025-04-03 16:20:05,201 [7    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host) in 1043.834ms
INFO  2025-04-03 16:20:05,203 [7    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.HomeController.Index (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:20:05,212 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4449.4859ms 302 
INFO  2025-04-03 16:20:05,229 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/index.html  
INFO  2025-04-03 16:20:05,294 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 64.8651ms 200 text/html;charset=utf-8
INFO  2025-04-03 16:20:05,325 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_framework/aspnetcore-browser-refresh.js  
INFO  2025-04-03 16:20:05,328 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/_vs/browserLink  
INFO  2025-04-03 16:20:05,332 [17   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 9.981ms 200 application/javascript; charset=utf-8
INFO  2025-04-03 16:20:05,365 [7    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 39.8438ms 200 text/javascript; charset=UTF-8
INFO  2025-04-03 16:20:05,530 [4    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/AntiForgery/SetCookie  
INFO  2025-04-03 16:20:05,535 [4    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:20:05,542 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/swagger/系统管理/swagger.json  
INFO  2025-04-03 16:20:05,545 [4    ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller YGNT.Exam.Web.Host.Controllers.AntiForgeryController (YGNT.Exam.Web.Host).
INFO  2025-04-03 16:20:05,614 [12   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:20:05,633 [12   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host) in 85.7688ms
INFO  2025-04-03 16:20:05,635 [12   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Web.Host.Controllers.AntiForgeryController.SetCookie (YGNT.Exam.Web.Host)'
INFO  2025-04-03 16:20:05,637 [12   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 107.4427ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:20:05,860 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 318.4409ms 200 application/json;charset=utf-8
INFO  2025-04-03 16:20:46,131 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:20:46,138 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:20:46,142 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 10.4011ms 204 
INFO  2025-04-03 16:20:46,143 [14   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:20:46,145 [14   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:20:46,260 [14   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:20:46,347 [30   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:20:46,356 [30   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:20:46,642 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:20:46,645 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 287.3149ms
INFO  2025-04-03 16:20:46,646 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:20:46,648 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 504.7919ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:21:46,132 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:21:46,135 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:21:46,139 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.9835ms 204 
INFO  2025-04-03 16:21:46,142 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:21:46,144 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:21:46,151 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:21:46,154 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:21:46,159 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:21:46,317 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:21:46,320 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 158.1963ms
INFO  2025-04-03 16:21:46,323 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:21:46,324 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 183.3023ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:22:46,133 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:22:46,136 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:22:46,139 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.0863ms 204 
INFO  2025-04-03 16:22:46,145 [16   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:22:46,147 [16   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:22:46,150 [16   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:22:46,153 [16   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:22:46,162 [16   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:22:46,260 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:22:46,262 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 98.4299ms
INFO  2025-04-03 16:22:46,263 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:22:46,265 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 121.5071ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:23:46,125 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:23:46,127 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:23:46,131 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4303ms 204 
INFO  2025-04-03 16:23:46,133 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:23:46,136 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:23:46,139 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:23:46,141 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:23:46,145 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:23:46,220 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:23:46,222 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 75.6306ms
INFO  2025-04-03 16:23:46,224 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:23:46,225 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 92.0802ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:24:05,129 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:24:05,131 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:05,134 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.7164ms 204 
INFO  2025-04-03 16:24:05,137 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:24:05,139 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:05,141 [34   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:05,143 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:05,147 [34   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:24:05,217 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:05,220 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.3057ms
INFO  2025-04-03 16:24:05,221 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:05,223 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 85.3458ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:24:16,098 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 16:24:16,101 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:16,104 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.6019ms 204 
INFO  2025-04-03 16:24:16,106 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 16:24:16,108 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:16,113 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:16,117 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:16,140 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:24:17,948 [9    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:24:18,007 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:24:18,038 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:24:18,169 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:18,177 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 2033.2531ms
INFO  2025-04-03 16:24:18,178 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:18,180 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 2074.8603ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:24:21,338 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 16:24:21,340 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:21,343 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.4467ms 204 
INFO  2025-04-03 16:24:21,345 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 16:24:21,349 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:21,356 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:21,359 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:21,367 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:24:21,576 [6    ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:24:21,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 16:24:21,739 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 16:24:21,807 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:21,842 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:21,872 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:21,884 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:21,891 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:21,903 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:21,915 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:21,922 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:21,929 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:21,939 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:21,948 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:21,965 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:21,974 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:21,987 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:21,995 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,004 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,016 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,022 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,031 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,042 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,051 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,057 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,065 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,079 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,086 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,097 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,105 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,111 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,120 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,126 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,137 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:22,142 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:22,148 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,158 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,165 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,174 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,183 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,189 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,195 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,203 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,209 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,216 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,225 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,233 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,242 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,250 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,262 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,269 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,277 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,287 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,296 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:22,303 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:22,310 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,319 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,326 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,336 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,345 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,360 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,368 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,378 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,385 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,392 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,401 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,411 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,417 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,425 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,432 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,443 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,454 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,463 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,471 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,481 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,493 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,502 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,510 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,517 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,525 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,533 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,548 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,558 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,576 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,584 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,589 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,598 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,610 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,616 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,628 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,636 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,643 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,650 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,659 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,665 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,673 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,680 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,687 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,696 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,704 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,713 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,722 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,731 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,741 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,750 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,763 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,770 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,779 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,786 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,793 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,801 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,807 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,813 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,821 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,830 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,836 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,845 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,857 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,866 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:22,871 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:22,882 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,888 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,895 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,907 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,917 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,923 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,931 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,937 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,945 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,954 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,961 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,969 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:22,977 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:22,987 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:22,994 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,002 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,008 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,016 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,026 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,033 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,040 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,048 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,056 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,063 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,072 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,080 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,086 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,095 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,103 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,109 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,118 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,127 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,134 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,173 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,182 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,188 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,196 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,204 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,215 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,227 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,235 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,241 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,250 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,258 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,266 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,275 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,282 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,290 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,299 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,305 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,316 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,327 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,335 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,343 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,351 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,359 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,367 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,378 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,384 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,392 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,403 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,412 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,421 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,444 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,451 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,461 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,469 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,476 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,483 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,495 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,503 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,511 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:23,517 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,528 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,534 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,544 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,554 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,562 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,569 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,578 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,587 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,595 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,603 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,610 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,617 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,625 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,634 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,641 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,650 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,658 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,667 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,675 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,683 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,689 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,701 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,707 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,716 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:23,722 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,731 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,737 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,746 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,756 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,762 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,771 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,782 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,792 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,799 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,807 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,814 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,821 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,831 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,838 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,849 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:23,854 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:23,859 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,869 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,875 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,885 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:23,894 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,901 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,909 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,917 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,924 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,930 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,938 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,946 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,952 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,961 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,968 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:23,976 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:23,985 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:23,996 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,004 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,013 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,019 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,027 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,036 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,043 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,050 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,059 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,066 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,074 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,083 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,092 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,100 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,110 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,117 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,124 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,132 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,140 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,146 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,154 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,163 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,171 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,180 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,192 [9    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,202 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,211 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,218 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,225 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,234 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,240 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,247 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,255 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,261 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,269 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,277 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,285 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,292 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,301 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,308 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,322 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,333 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,343 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,349 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,358 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,366 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,373 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,382 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,390 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,397 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,405 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,412 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,422 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,437 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,456 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,481 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (21ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,512 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (25ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,528 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,538 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,549 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,558 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,565 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,574 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,583 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,590 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,599 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,605 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,613 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,621 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,628 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,636 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,644 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,651 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,657 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,667 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,676 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,682 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,691 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,697 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,705 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,714 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,721 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,728 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,735 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,742 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,753 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,763 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,770 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,776 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,785 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,793 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,801 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:24,808 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:24,815 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:24,828 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,835 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,841 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,850 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,857 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,864 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:24,875 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:24,885 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,892 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,899 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,906 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,912 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,918 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,926 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,933 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,941 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:24,949 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:24,962 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:24,972 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:24,978 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:24,984 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:24,998 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,004 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,013 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,021 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,029 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,038 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:25,045 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,055 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,062 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,071 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,081 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,089 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,097 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,113 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,124 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,134 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:24:25,136 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,137 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:25,139 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.8473ms 204 
INFO  2025-04-03 16:24:25,140 [34   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:24:25,144 [34   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:25,148 [34   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:25,152 [34   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:25,155 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,159 [34   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:24:25,161 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,170 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,180 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,189 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,199 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,207 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,213 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,224 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,226 [6    ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:25,228 [6    ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 66.6933ms
INFO  2025-04-03 16:24:25,229 [6    ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:25,231 [6    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.7783ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:24:25,237 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,248 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,257 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,266 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,273 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,283 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p18, @p19, @p20, @p21, @p22);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,294 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,301 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,319 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,335 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,343 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,351 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,359 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,367 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,373 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,382 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,389 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,398 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,406 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,416 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,426 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,443 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,450 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,459 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,468 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,474 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,480 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,489 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,499 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,506 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,513 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,521 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,528 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,537 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,545 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,551 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,560 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,575 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,584 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,593 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,599 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,610 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,618 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,628 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p30, @p31, @p32, @p33, @p34);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:25,642 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,650 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,657 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,666 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,673 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,679 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,687 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,696 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,702 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,711 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,722 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,732 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,740 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,750 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,759 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,769 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,776 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,785 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,794 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,803 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,811 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,819 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,826 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,836 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,845 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,853 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,860 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,868 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,875 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,883 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,893 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:25,914 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:25,976 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (59ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:25,999 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (18ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,007 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,014 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,028 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,038 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,044 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,055 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,061 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,069 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,077 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,085 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,092 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,104 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,111 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,118 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,127 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,136 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,143 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,152 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,158 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,168 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,177 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,185 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,191 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,210 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,217 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,228 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,234 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,241 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,249 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,265 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,276 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,286 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,294 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,300 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,317 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,329 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,339 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,350 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,357 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,365 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,374 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,380 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,386 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,394 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,403 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,412 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,425 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,433 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,449 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:26,455 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:26,467 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,474 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,484 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,494 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,502 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,508 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,515 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,522 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,529 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,538 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,545 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,552 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,559 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,566 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,574 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,584 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,591 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,602 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,610 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,619 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,625 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,634 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,641 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,649 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,658 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,664 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,673 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,684 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,693 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,704 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,712 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,720 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,728 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,735 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,742 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,750 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,759 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,765 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,772 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,782 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,792 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,799 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,807 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,813 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,822 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,831 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,838 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,845 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,855 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,860 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,867 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,876 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,887 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,893 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,903 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,910 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,920 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,929 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,937 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,943 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,955 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,962 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,971 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:26,979 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:26,986 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:26,993 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,006 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,014 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,024 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,040 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,063 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,079 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,087 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,094 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,102 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,110 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,119 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,134 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p18, @p19, @p20, @p21, @p22);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,147 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,153 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,164 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,174 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,184 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,191 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,202 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,209 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,218 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,229 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,236 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,243 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,255 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,261 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,268 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,279 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,286 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,292 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,302 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,308 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,328 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (17ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,338 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,351 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,361 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p18, @p19, @p20, @p21, @p22);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,371 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,378 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,387 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,395 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,403 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,409 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,418 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,440 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,449 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,463 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,470 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,476 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,485 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,493 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,508 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,519 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,527 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,538 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,545 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,551 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,558 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,566 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,576 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,584 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,595 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,602 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,608 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,617 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,623 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,631 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,639 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,650 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,658 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,666 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,672 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,682 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p42, @p43, @p44, @p45, @p46);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,697 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,703 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,715 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,726 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,733 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,742 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,753 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,762 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,770 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,780 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,790 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,798 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,806 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,812 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,818 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,826 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,833 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,839 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,848 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,855 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,866 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p24, @p25, @p26, @p27, @p28);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,879 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,886 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,896 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,905 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,913 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,922 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:27,932 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,938 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,947 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,956 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,964 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,973 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:27,983 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:27,989 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:27,995 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,006 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,017 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,023 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,031 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,037 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,045 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,054 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,061 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,068 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,079 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,088 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,096 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,103 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,109 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,115 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,124 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,130 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,137 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,147 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,154 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,160 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,170 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,177 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,192 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,200 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,208 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,215 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,225 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,232 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,238 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,247 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,255 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,263 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,272 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,277 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,283 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,291 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,298 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,305 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,321 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,336 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (13ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,348 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,357 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,363 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,369 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,378 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,385 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,392 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,400 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,406 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,412 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,420 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,428 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,434 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,444 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,450 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,457 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,465 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,471 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,481 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,489 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,496 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,505 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,513 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,520 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,526 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,535 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,545 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,552 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,562 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,567 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,575 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,583 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,589 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,598 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,607 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,614 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,620 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,629 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,636 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,646 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p66, @p67, @p68, @p69, @p70);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:28,666 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,673 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,683 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:28,694 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,708 [6    ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,716 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,729 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,734 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,741 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,750 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,757 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,762 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,771 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,780 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,787 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,794 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,800 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,806 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,814 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,822 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,830 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,838 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,845 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,851 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,860 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,865 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,871 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,878 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,888 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,894 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,903 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,912 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,917 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,925 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,930 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,937 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,947 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,953 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,959 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,966 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,972 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:28,979 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:28,987 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:28,993 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,000 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,007 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,013 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,018 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,026 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,031 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,037 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,045 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,050 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,059 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p36, @p37, @p38, @p39, @p40);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,073 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,079 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,087 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,096 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,102 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,111 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,120 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,127 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,135 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,146 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,151 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,159 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,171 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,176 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,184 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,194 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,202 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,210 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,219 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,225 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,233 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,247 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,253 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,259 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,269 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,278 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,284 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,294 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,300 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,306 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,314 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,326 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,337 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,347 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,353 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,358 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,366 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,373 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,378 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,387 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,393 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,399 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,408 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,414 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,422 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,439 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (12ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,445 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,450 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,458 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,463 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,468 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,475 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,480 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,485 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,495 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,500 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,506 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,513 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,519 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,525 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,536 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,541 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,552 [39   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p53='?' (DbType = Int32), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64), @p59='?' (DbType = Int32), @p54='?' (DbType = Int32), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (Size = 4000), @p58='?' (DbType = Int64), @p65='?' (DbType = Int32), @p60='?' (DbType = Int32), @p61='?' (DbType = Boolean), @p62='?' (DbType = Boolean), @p63='?' (Size = 4000), @p64='?' (DbType = Int64), @p71='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (DbType = Boolean), @p68='?' (DbType = Boolean), @p69='?' (Size = 4000), @p70='?' (DbType = Int64), @p77='?' (DbType = Int32), @p72='?' (DbType = Int32), @p73='?' (DbType = Boolean), @p74='?' (DbType = Boolean), @p75='?' (Size = 4000), @p76='?' (DbType = Int64), @p78='?' (DbType = Int32), @p79='?' (DbType = Boolean), @p80='?' (DbType = Boolean), @p81='?' (Size = 4000), @p82='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p48, `IsActive` = @p49, `IsDeleted` = @p50, `Name` = @p51, `SourceId` = @p52
WHERE `Id` = @p53;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p54, `IsActive` = @p55, `IsDeleted` = @p56, `Name` = @p57, `SourceId` = @p58
WHERE `Id` = @p59;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p60, `IsActive` = @p61, `IsDeleted` = @p62, `Name` = @p63, `SourceId` = @p64
WHERE `Id` = @p65;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p66, `IsActive` = @p67, `IsDeleted` = @p68, `Name` = @p69, `SourceId` = @p70
WHERE `Id` = @p71;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p72, `IsActive` = @p73, `IsDeleted` = @p74, `Name` = @p75, `SourceId` = @p76
WHERE `Id` = @p77;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p78, @p79, @p80, @p81, @p82);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,562 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,568 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,574 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,581 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,587 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,592 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,601 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,607 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,613 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,622 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,631 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,637 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,644 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,654 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,660 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,667 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,672 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,679 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,687 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,693 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,702 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,710 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,715 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,719 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,731 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,738 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,743 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,750 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,756 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,761 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,769 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,774 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,780 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,789 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,795 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,804 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64), @p11='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = Boolean), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Int64), @p17='?' (DbType = Int32), @p12='?' (DbType = Int32), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = Int64), @p23='?' (DbType = Int32), @p18='?' (DbType = Int32), @p19='?' (DbType = Boolean), @p20='?' (DbType = Boolean), @p21='?' (Size = 4000), @p22='?' (DbType = Int64), @p29='?' (DbType = Int32), @p24='?' (DbType = Int32), @p25='?' (DbType = Boolean), @p26='?' (DbType = Boolean), @p27='?' (Size = 4000), @p28='?' (DbType = Int64), @p35='?' (DbType = Int32), @p30='?' (DbType = Int32), @p31='?' (DbType = Boolean), @p32='?' (DbType = Boolean), @p33='?' (Size = 4000), @p34='?' (DbType = Int64), @p41='?' (DbType = Int32), @p36='?' (DbType = Int32), @p37='?' (DbType = Boolean), @p38='?' (DbType = Boolean), @p39='?' (Size = 4000), @p40='?' (DbType = Int64), @p47='?' (DbType = Int32), @p42='?' (DbType = Int32), @p43='?' (DbType = Boolean), @p44='?' (DbType = Boolean), @p45='?' (Size = 4000), @p46='?' (DbType = Int64), @p48='?' (DbType = Int32), @p49='?' (DbType = Boolean), @p50='?' (DbType = Boolean), @p51='?' (Size = 4000), @p52='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p6, `IsActive` = @p7, `IsDeleted` = @p8, `Name` = @p9, `SourceId` = @p10
WHERE `Id` = @p11;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p12, `IsActive` = @p13, `IsDeleted` = @p14, `Name` = @p15, `SourceId` = @p16
WHERE `Id` = @p17;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p18, `IsActive` = @p19, `IsDeleted` = @p20, `Name` = @p21, `SourceId` = @p22
WHERE `Id` = @p23;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p24, `IsActive` = @p25, `IsDeleted` = @p26, `Name` = @p27, `SourceId` = @p28
WHERE `Id` = @p29;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p30, `IsActive` = @p31, `IsDeleted` = @p32, `Name` = @p33, `SourceId` = @p34
WHERE `Id` = @p35;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p36, `IsActive` = @p37, `IsDeleted` = @p38, `Name` = @p39, `SourceId` = @p40
WHERE `Id` = @p41;
SELECT ROW_COUNT();

UPDATE `Textbooks` SET `DisciplineId` = @p42, `IsActive` = @p43, `IsDeleted` = @p44, `Name` = @p45, `SourceId` = @p46
WHERE `Id` = @p47;
SELECT ROW_COUNT();

INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p48, @p49, @p50, @p51, @p52);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,814 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,819 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,825 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,836 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,843 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,849 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:24:29,857 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,862 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,871 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:29,876 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p5='?' (DbType = Int32), @p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
UPDATE `Textbooks` SET `DisciplineId` = @p0, `IsActive` = @p1, `IsDeleted` = @p2, `Name` = @p3, `SourceId` = @p4
WHERE `Id` = @p5;
SELECT ROW_COUNT();
INFO  2025-04-03 16:24:29,882 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,892 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,898 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,906 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:29,917 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:24:29,922 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:24:29,931 [35   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = Boolean), @p2='?' (DbType = Boolean), @p3='?' (Size = 4000), @p4='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
INSERT INTO `Textbooks` (`DisciplineId`, `IsActive`, `IsDeleted`, `Name`, `SourceId`)
VALUES (@p0, @p1, @p2, @p3, @p4);
SELECT `Id`
FROM `Textbooks`
WHERE ROW_COUNT() = 1 AND `Id` = LAST_INSERT_ID();
INFO  2025-04-03 16:24:30,008 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:30,010 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 8641.5957ms
INFO  2025-04-03 16:24:30,011 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:30,013 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8668.1298ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:24:30,015 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync  
INFO  2025-04-03 16:24:30,017 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:30,019 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.1355ms 204 
INFO  2025-04-03 16:24:30,020 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Chapter/DataSync application/json 2
INFO  2025-04-03 16:24:30,022 [35   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:30,024 [35   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:30,025 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:30,032 [35   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Chapter"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Chapters.ChapterAppService (YGNT.QuestionLibrary.Application).
WARN  2025-04-03 16:24:31,007 [35   ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid URI: The format of the URI could not be determined.
Abp.UI.UserFriendlyException: Invalid URI: The format of the URI could not be determined.
   at YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync() in E:\work\tl\gv-api\src\YGNT.QuestionLibrary\YGNT.QuestionLibrary.Application\Chapters\ChapterAppService.cs:line 251
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
INFO  2025-04-03 16:24:31,015 [35   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:31,019 [35   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application) in 984.4759ms
INFO  2025-04-03 16:24:31,022 [35   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Chapters.ChapterAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:24:31,024 [35   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1003.572ms 500 application/json; charset=utf-8
INFO  2025-04-03 16:24:45,123 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:24:45,125 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:45,127 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.294ms 204 
INFO  2025-04-03 16:24:45,135 [9    ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:24:45,139 [9    ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:24:45,143 [9    ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:24:45,145 [9    ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:45,151 [9    ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:24:45,222 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:24:45,224 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 71.1102ms
INFO  2025-04-03 16:24:45,225 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:24:45,227 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 93.7493ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:25:00,222 [og #1] Hangfire.Server.ServerWatchdog           - 1 servers were removed due to timeout
INFO  2025-04-03 16:25:04,776 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:25:04,777 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:04,778 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 3.2588ms 204 
INFO  2025-04-03 16:25:04,783 [11   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:25:04,785 [11   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:04,787 [11   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:25:04,789 [11   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:04,793 [11   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:25:04,852 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:25:04,854 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 59.6582ms
INFO  2025-04-03 16:25:04,856 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:04,857 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 74.2835ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:25:13,137 [50   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15  
INFO  2025-04-03 16:25:13,142 [50   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:13,145 [50   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 8.1723ms 204 
INFO  2025-04-03 16:25:13,149 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/QuestionLibrary/Textbook/GetList?DisciplineId=&EducationCategoryId=&KeyWord=&SkipCount=0&MaxResultCount=15 application/json 
INFO  2025-04-03 16:25:13,152 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:13,157 [43   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:25:13,161 [43   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:25:13,169 [43   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "GetList", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[YGNT.QuestionLibrary.Textbooks.Dto.TextbookDto]] GetListAsync(YGNT.QuestionLibrary.Textbooks.Dto.SearchTextbookInputDto) on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:25:13,178 [43   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:25:13,207 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
SELECT COUNT(*)
FROM `Textbooks` AS `t`
INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
) AND `e`.`IsActive`
INFO  2025-04-03 16:25:13,219 [41   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__p_1='?' (DbType = Int32), @__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `t0`.`Id`, `t0`.`DisciplineId`, `t0`.`IsActive`, `t0`.`IsDeleted`, `t0`.`Name`, `t0`.`SourceId`, `d1`.`Name`, `g0`.`Name`
FROM (
    SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`, `d`.`Id` AS `Id0`, `g`.`Id` AS `Id1`, `e`.`Id` AS `Id2`, `d`.`GradeId`
    FROM `Textbooks` AS `t`
    INNER JOIN `Disciplines` AS `d` ON `t`.`DisciplineId` = `d`.`Id`
    INNER JOIN `Grades` AS `g` ON `d`.`GradeId` = `g`.`Id`
    INNER JOIN `EducationCategories` AS `e` ON `g`.`EducationCategoryId` = `e`.`Id`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d0`.`Id`
        FROM `Disciplines` AS `d0`
    )
    ) AND `e`.`IsActive`
    ORDER BY `t`.`IsActive`, `d`.`GradeId`, `t`.`DisciplineId` DESC, `t`.`Name`
    LIMIT @__p_1 OFFSET @__p_0
) AS `t0`
INNER JOIN `Disciplines` AS `d1` ON `t0`.`DisciplineId` = `d1`.`Id`
INNER JOIN `Grades` AS `g0` ON `d1`.`GradeId` = `g0`.`Id`
ORDER BY `t0`.`IsActive`, `t0`.`GradeId`, `t0`.`DisciplineId` DESC, `t0`.`Name`
INFO  2025-04-03 16:25:13,264 [41   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:25:13,267 [41   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application) in 95.7051ms
INFO  2025-04-03 16:25:13,268 [41   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.GetListAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:25:13,271 [41   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 122.6203ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:25:25,129 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:25:25,132 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:25,134 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.6357ms 204 
INFO  2025-04-03 16:25:25,136 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:25:25,138 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:25,141 [37   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:25:25,143 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:25,150 [37   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:25:25,221 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:25:25,223 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 70.6151ms
INFO  2025-04-03 16:25:25,225 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:25,226 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 90.5623ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:25:45,129 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:25:45,131 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:45,133 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 4.9388ms 204 
INFO  2025-04-03 16:25:45,136 [37   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:25:45,139 [37   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:25:45,142 [37   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:25:45,144 [37   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:45,151 [37   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:25:45,247 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:25:45,249 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 96.7238ms
INFO  2025-04-03 16:25:45,251 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:25:45,253 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 118.0065ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:26:05,130 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:26:05,133 [46   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:05,135 [46   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.7652ms 204 
INFO  2025-04-03 16:26:05,139 [42   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:26:05,141 [42   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:05,144 [42   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:26:05,146 [42   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:26:05,153 [42   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:26:05,258 [40   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO  2025-04-03 16:26:05,260 [40   ] c.Infrastructure.ControllerActionInvoker - Executed action YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application) in 105.4903ms
INFO  2025-04-03 16:26:05,262 [40   ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:26:05,264 [40   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 124.3542ms 200 application/json; charset=utf-8
INFO  2025-04-03 16:26:19,878 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync  
INFO  2025-04-03 16:26:19,880 [43   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:19,882 [43   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 5.5219ms 204 
INFO  2025-04-03 16:26:19,884 [44   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 POST http://localhost:21021/api/services/QuestionLibrary/Textbook/DataSync application/json 2
INFO  2025-04-03 16:26:19,886 [44   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:19,889 [44   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:26:19,893 [44   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.QuestionLibrary.Textbooks.TextbookAppService.DataSyncAsync (YGNT.QuestionLibrary.Application)'
INFO  2025-04-03 16:26:19,902 [44   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "QuestionLibrary", action = "DataSync", controller = "Textbook"}. Executing controller action with signature System.Threading.Tasks.Task DataSyncAsync() on controller YGNT.QuestionLibrary.Textbooks.TextbookAppService (YGNT.QuestionLibrary.Application).
INFO  2025-04-03 16:26:20,032 [40   ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 3.1.10 initialized 'QuestionLibraryDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: None
INFO  2025-04-03 16:26:20,056 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `g`.`Id`, `g`.`CreationTime`, `g`.`CreatorUserId`, `g`.`EducationCategoryId`, `g`.`Name`, `g`.`SourceId`
FROM `Grades` AS `g`
INFO  2025-04-03 16:26:20,100 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT `c`.`Id`, `c`.`CreationTime`, `c`.`CreatorUserId`, `c`.`Name`, `c`.`SourceId`
FROM `Courses` AS `c`
INFO  2025-04-03 16:26:20,139 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,146 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,152 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,161 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,167 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,173 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,182 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,188 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,193 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,201 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,206 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,215 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,224 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,232 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,238 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,245 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,251 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,256 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,264 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,269 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,275 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,281 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,287 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,293 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,299 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,305 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,313 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,319 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,325 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,330 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,340 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,345 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,351 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,361 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,366 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,373 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,383 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,388 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,396 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,402 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,408 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,416 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,440 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,449 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,454 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,461 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,466 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,473 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,479 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,485 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,490 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,497 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,503 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,509 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,516 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,522 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,528 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,535 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,541 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,552 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,559 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,566 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,571 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,578 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,583 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,588 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,595 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,600 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,606 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,613 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,619 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,625 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,632 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,637 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,642 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,649 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,655 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,661 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,668 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,673 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,679 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,686 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,691 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,696 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,703 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,708 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,714 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,720 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,728 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,734 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,741 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,747 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,755 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,762 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,772 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,777 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,784 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,791 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,796 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,803 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,809 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,815 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,822 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,829 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,835 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,841 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,851 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,857 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,864 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,870 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,875 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,882 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,890 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,896 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,904 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,910 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,916 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,922 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,935 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,940 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,948 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,961 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,966 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,974 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:20,980 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:20,987 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:20,994 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,000 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,005 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,011 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,017 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,022 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,032 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,038 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,057 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,062 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,068 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,074 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,080 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,085 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,092 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,097 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,103 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,110 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,116 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,125 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,148 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,215 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (64ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,256 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (34ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,270 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,277 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,284 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,292 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,298 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,307 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,314 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,322 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,329 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,335 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,343 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,352 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,359 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,365 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,375 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,383 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,390 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,396 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,404 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,411 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,421 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,431 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,454 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (19ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,465 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,474 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,481 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,489 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,497 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,503 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,510 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,519 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,527 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,533 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,542 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,552 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,562 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,574 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,580 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,587 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,595 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,602 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,608 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,619 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,625 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,636 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,643 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,649 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,657 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,665 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,674 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,681 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,690 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,699 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,706 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,715 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,721 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,727 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,736 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,747 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,756 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,764 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,772 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,779 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,788 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,794 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,801 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,809 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,815 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,823 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,832 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,841 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,856 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,867 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,874 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,879 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,889 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,897 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,903 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,911 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,917 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,923 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,930 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,936 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,942 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,958 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,965 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:21,973 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:21,983 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:21,993 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,001 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,010 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,017 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,025 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,033 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,039 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,048 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,059 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,064 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,071 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,079 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,085 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,094 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,104 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,112 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,120 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,129 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,137 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,145 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,154 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,161 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,169 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,177 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,186 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,193 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,202 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,209 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,215 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,224 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,230 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,237 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,245 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,250 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,256 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,264 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,271 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,280 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,288 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,294 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,300 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,308 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,314 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,320 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,328 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,336 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,344 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,354 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,363 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,370 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,379 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,385 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,392 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,401 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,410 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,417 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,424 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,430 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,440 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,448 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,453 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,459 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,468 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,473 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,480 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,487 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,494 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,501 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,509 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,518 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,524 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,533 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,546 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,557 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,565 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,573 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,580 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,588 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,594 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,601 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,608 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,615 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,623 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,630 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,640 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,647 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,654 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,660 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,667 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,674 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,681 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,688 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,696 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,704 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,710 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,720 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,727 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,733 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,742 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,747 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,755 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,763 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,770 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,776 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,785 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,791 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,801 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,811 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,818 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,824 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,832 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,838 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,844 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,853 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,862 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,869 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,880 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,886 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,896 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,903 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,911 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,917 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,925 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,932 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,938 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,945 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,952 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,961 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:22,970 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:22,981 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:22,993 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,002 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,009 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,015 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,022 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,030 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,038 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,046 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,053 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,060 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,068 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,075 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,082 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,090 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,100 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,107 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,116 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,123 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,130 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,137 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,143 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,153 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,162 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,170 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,178 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,186 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,195 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,204 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,212 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,220 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,227 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,235 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,242 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,248 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,258 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,266 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,272 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,280 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,289 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,295 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,303 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,310 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,317 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,324 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,330 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,337 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,345 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,353 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,359 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,367 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,374 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,381 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,393 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,399 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,406 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,414 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,422 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,429 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,440 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,446 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,453 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,461 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,468 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,475 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,484 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,491 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,498 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,508 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,514 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,521 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,529 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,536 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,543 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,558 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,571 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,580 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,589 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,598 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,605 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,613 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,621 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,627 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,638 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,644 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,651 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,658 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,664 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,671 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,678 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,686 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,695 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,703 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,710 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,716 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,725 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,733 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,742 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,751 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,760 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,768 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,777 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,784 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,791 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,798 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,804 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,811 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,820 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,829 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,837 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,845 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,854 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,864 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,872 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,880 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,887 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,901 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,908 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,915 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,924 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,932 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,938 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,946 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,953 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,961 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,968 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:23,976 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:23,983 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:23,991 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,003 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,013 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,023 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,031 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,037 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,046 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,056 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,063 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,071 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,078 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,085 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,094 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,105 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,112 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,122 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,130 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,137 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,146 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,153 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,161 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,169 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,178 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,186 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,194 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,200 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,209 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,219 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,231 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,238 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,249 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,260 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,269 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,277 [40   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,286 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,297 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,306 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,315 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,328 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (10ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,348 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (15ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,362 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (11ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,373 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,382 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,391 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,398 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,407 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,415 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,422 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,432 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,440 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,448 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,456 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,463 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,475 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,483 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,489 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,498 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,506 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,515 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,522 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,531 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,537 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,543 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,551 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,558 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,565 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,573 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,581 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,586 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,606 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,619 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (9ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,627 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,636 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,644 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,653 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,661 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,672 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,682 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,690 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,701 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,711 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,723 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,731 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,740 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,749 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,756 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,763 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,774 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,781 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,788 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,796 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,805 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,813 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,827 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,834 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,839 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,851 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,858 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,866 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,874 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,882 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,890 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,901 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,910 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,918 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,926 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,932 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,943 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,953 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,961 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:24,979 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (14ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:24,992 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:24,999 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,008 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,017 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (6ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,028 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (8ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,035 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,045 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,052 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,059 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,070 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,077 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,083 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,091 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,098 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,105 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,114 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,120 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,132 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,137 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://localhost:21021/api/services/app/UserMessage/GetNotReadCount  
INFO  2025-04-03 16:26:25,140 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:25,141 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,143 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 6.0389ms 204 
INFO  2025-04-03 16:26:25,145 [45   ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:21021/api/services/app/UserMessage/GetNotReadCount application/json 
INFO  2025-04-03 16:26:25,152 [45   ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO  2025-04-03 16:26:25,153 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,155 [45   ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO  2025-04-03 16:26:25,159 [45   ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'YGNT.Exam.Messages.UserMessageAppService.GetNotReadCountAsync (YGNT.Exam.Application)'
INFO  2025-04-03 16:26:25,162 [50   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,170 [45   ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetNotReadCount", controller = "UserMessage"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Int64] GetNotReadCountAsync() on controller YGNT.Exam.Messages.UserMessageAppService (YGNT.Exam.Application).
INFO  2025-04-03 16:26:25,172 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,179 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,186 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,193 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (3ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
INFO  2025-04-03 16:26:25,202 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (4ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT EXISTS (
    SELECT 1
    FROM `Textbooks` AS `t`
    WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
        SELECT `d`.`Id`
        FROM `Disciplines` AS `d`
    )
    ) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1)))
INFO  2025-04-03 16:26:25,210 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__discipline_Id_0='?' (DbType = Int32), @__8__locals1_item_BookId_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30']
SELECT `t`.`Id`, `t`.`DisciplineId`, `t`.`IsActive`, `t`.`IsDeleted`, `t`.`Name`, `t`.`SourceId`
FROM `Textbooks` AS `t`
WHERE ((@__ef_filter__p_0 OR NOT (`t`.`IsDeleted`)) AND `t`.`DisciplineId` IN (
    SELECT `d`.`Id`
    FROM `Disciplines` AS `d`
)
) AND ((`t`.`DisciplineId` = @__discipline_Id_0) AND (`t`.`SourceId` = @__8__locals1_item_BookId_1))
LIMIT 1
INFO  2025-04-03 16:26:25,220 [49   ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (5ms) [Parameters=[@__grade_Id_0='?' (DbType = Int32), @__course_Id_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT `d`.`Id`, `d`.`CourseId`, `d`.`CreationTime`, `d`.`CreatorUserId`, `d`.`GradeId`, `d`.`Name`
FROM `Disciplines` AS `d`
WHERE (`d`.`Id` IN (
    SELECT `d0`.`Id`
    FROM `Disciplines` AS `d0`
)
 AND (`d`.`GradeId` = @__grade_Id_0)) AND (`d`.`CourseId` = @__course_Id_1)
LIMIT 1
